This topic contains 0 replies, has 1 voice, and was last updated by wichoreynoso 3 years, 2 months ago.
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic. Login here
Home › Forums › Other Questions/Troubleshoot › Flash programming error
This topic contains 0 replies, has 1 voice, and was last updated by wichoreynoso 3 years, 2 months ago.
Hi,
I was able to build and run a few applications with both RISC-V cores, then I did the same with the Cortex cores successfully; however, now that I want to go back to the RISC-V, I’m getting a flash programming issue, both with GCC and Eclipse and even with a basic hello_world example.
This is what I get with ri5cy:
> program hello_world.elf
JTAG tap: rv32m1.cpu tap/device found: 0x249511c3 (mfg: 0x0e1 (Wintec Industries), part: 0x4951, ver: 0x2)
** Programming Started **
auto erase enabled
Flash write discontinued at 0x0000306e, next section at 0x000fff00
Flash controller is busy
failed erasing sectors 0 to 3
embedded:startup.tcl:477: Error: ** Programming Failed **
in procedure ‘program’
in procedure ‘program_error’ called at file “embedded:startup.tcl”, line 536
at file “embedded:startup.tcl”, line 477
The error for zero_riscy is similar, except for the addresses.
If I’m correct the boot command (i.e. ri5cy_boot) should erase all the flash correct? Is there any reason why the flash controller is busy on the device?
Regards,
Luis R
You must be logged in to reply to this topic. Login here