Getting stuck in uploading Cyton firmware with "Program flash failed"

kingit98kingit98 Turkey
edited May 2025 in Cyton

Hello, dear friends,
I hope you are doing well.
Actually, I wanted to assemble and program a Cyton board on my own.
I started ordering the PCB files and their related components according to the BOM file and ultimately assembled them on the board. (Although I found out some mismatch between component values, for instance regarding R10, there are three different values!!! , 1K in BOM Excel file, 330k in Schematics file of project and 470k in the schematic image attached to the source file.)

Anyway, I followed the instructions in the Docs section of the site and managed to successfully flash 32bitHost.into into Dongle and 32bitDevice.ino into RFduino of the mainboard. Meanwhile, I uploaded the appropriate bootloader file named UDB32_MX2_DIP into PIC32MX250F128B using the PICKit 3 programmer successfully. To prepare Cyton for uploading the DefaultBoard code into it, I followed the guidance to bring the board into bootloader mode and the related LED started to blink gracefully.
However, I get stuck in this stage by the "program flash failed" many times. So I wanted to reach out to you esteemed guys and ask for help to get rid of this error.

Actually, I already reviewed the related topics but unfortunately, I couldn't find any useful solution. However, I tried the following steps to solve this issue:

1- decrease the distance between the dongle and the main board as much as possible.
2- closing all of the processing tasks of my computer, even antivirus, while the firmware is programming.
3- use another computer that has a much more powerful hardware setup and configuration.
4- increasing the poll time and baud rate using the radio utility provided by the OpenBCI.
5- attempting to program the board directly using the PICkit but it seems to have trouble verifying code for a specific range of addresses and is unable to program the code.
But none of the above solutions, which were remarked in the troubleshoot section of the official document and respective threads, bypassed this obstacle.
I would appreciate your valuable guidance to make my DIY board functional.
Thanks

Comments

Sign In or Register to comment.