[En-Nut-Discussion] Problems programming Ethernut3 (cfi primary command set 0 unsupported)

José Vallet jose.vallet at hut.fi
Thu Jun 11 14:23:09 CEST 2009


Going a bit forward...

I installed the revision 717 of OpenOCD (as specified at 
http://www.ethernut.de/en/hardware/enut3/openocd.html).

In order to live with the FTDI library installed by default in Kubuntu I 
had to configure it with
./configure --enable-ft2232_libftdi

then the cfi error disspapears, but instead I get the following error
----------------------------
jose at Aut-019:~/ethernut/nut/toojose at Aut-019:~/ethernut/nut-app/httpd$ 
make burn
jtagomat_openocd -DDEVICE=0x1F0F0F0F -DIMAGE=./httpserv.bin BATCH 
at91-upl.jom FLASH
ERROR: Halt failed.
-----------------------------
ls/linux$ sudo openocd -f ./enut3ocd.cfg
Open On-Chip Debugger 1.0 (2009-06-11-12:33) svn:717
$URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $
Info:    options.c:50 configuration_output_handler(): Open On-Chip 
Debugger 1.0 (2009-06-11-12:33) svn:717
Info:    options.c:50 configuration_output_handler(): jtag_speed: 0, 0
Info:    jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x1f0f0f0f 
(Manufacturer: 0x787, Part: 0xf0f0, Version: 0x1)
Info:    jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x1f0f0f0f 
(Manufacturer: 0x787, Part: 0xf0f0, Version: 0x1)
Info:    target.c:237 target_init_handler(): executing reset script 
'enut3ocd.ini'
User:    target.c:957 target_arch_state(): target state: halted
User:    armv4_5.c:307 armv4_5_arch_state(): target halted in ARM state 
due to debug request, current mode: Supervisor
cpsr: 0x200000d3 pc: 0x100023d8
Info:    server.c:78 add_connection(): accepting 'telnet' connection from 0
Info:    jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x1f0f0f0f 
(Manufacturer: 0x787, Part: 0xf0f0, Version: 0x1)
User:    target.c:957 target_arch_state(): target state: running
Info:    jtag.c:1389 jtag_examine_chain(): JTAG device found: 0x1f0f0f0f 
(Manufacturer: 0x787, Part: 0xf0f0, Version: 0x1)
User:    target.c:957 target_arch_state(): target state: running
User:    target.c:957 target_arch_state(): target state: halted
User:    armv4_5.c:307 armv4_5_arch_state(): target halted in ARM state 
due to debug request, current mode: Supervisor
cpsr: 0x200000d3 pc: 0x100023e0
Info:    server.c:395 server_loop(): dropped 'telnet' connection
-------------------------


I also tried
-------------------------
jose at Aut-019:~/ethernut/nut-app/httpd$ jtagomat_openocd -v HALT
JTAG-O-MAT 1.2.8
Open On-Chip Debugger 1.0 (2009-06-11-12:33) svn:717
ERROR: Halt failed.
-------------------------


Any suggestions?

Thanks!
José



More information about the En-Nut-Discussion mailing list