kd7lmo
March 8, 2008, 6:21pm
1
After installing the new r423 version, the following script commands stopped working.
flash erase 0 0 21
flash write 0 test.bin 0x0
I did find a note in the tutorial that write was depreciated and replaced with write_binary. But I’m still getting a command not found error.
Any ideas?
mifi
March 8, 2008, 7:32pm
2
Hello kd7lmo,
some of the commands had changed:
old
flash erase 0 0 21
new
flash erase_sector 0 0 21
old
flash write 0 test.bin 0x0
new
flash write_image test.bin 0x0 bin
Regards,
Michael
kd7lmo
March 8, 2008, 7:43pm
3
Thanks for the fast reply. Is there a link to the new command set. I could only find a reference to the old one.
mifi
March 8, 2008, 7:47pm
4
Do you use OpenOCD on windows or on linux?
If you use OpenOCD from the YAGARTO page, it comes
with a pdf.
If you build openocd yourself, try to build the pdf too:
make pdf
Even you can start telnet an use help.
Regards,
Michael
kd7lmo
March 8, 2008, 8:06pm
5
It is the OpenOCD for Windows. I missed the PDF file that was in the installation directory. I was looking on the web instead. RTFM! That fixed the problems and was actually pretty useful to learn about other commands.
Thanks!