Hi all,
Fast question, I have both SAM7 boards, and I can program the SAM7-256 board just fine, but the SAM7-ex256 board (the once that comes with the LCD) I’m having issues…
I’m using the arm-usb-ocd.
For those using the ex256 board, what jumpers did you use? I noticed that I must have the “erase” jumper on (connected)
Anything else? Its taking 108 seconds to program, but after that (I’m assuming its a timeout), nada…yet the same code on the same programmer programs in seconds and works on the Sam7-256 board…same files for both…
Thoughts?!
~Kam (^8*
Hi all,
Okay, I’m of the position that my new SAM7-EX256 is bad…can you guys check out my logic to make sure I’m thinking right?
#1 . I have a working SAM7-256 dev board
#2 . I have a new working(?) SAM7-ex256 board
#3 . Using ARM-USB-OCD
#4 . Have program that toggles PA3
#5 . Have LED on PA3 and 3.3v, light toggles just fine on SAM7-256 board
#6 . Unplug JTAG cable and move to SAM7-ex256.
#7 . programs just fine…takes approx 3 seconds
#8 . Have LED on pins 1 (PA3) and 18 (+3.3v) on ext
Nothing.
It’s acting as if the board is halted or ???
Same settings (gcc) for both boards…same dev tools, same scripts etc, only diff between the 2 is the hardware, same everything else…
BTW, I can pick up a radio station on the speaker on the SAM7-ex256 board!!!
Here are my jumper settings on the sam7-ex256 board
Erase=OFF
JTAGSEL=OFF
TST=off
VREF=on
PHY-PD=off
CTS=off
DRXD=1&2 (not 2&3)
DTXD=1&2 (not 2&3)
CAN-T=on
STNB=1&2 (not 2&3)
Headphone/speaker=2&3 (speaker)
I’m stumped! If you look at James P Lynch “Nokia 6100” doc, the photo on the cover is 100% my setup (jumpers etc)
~Kam (^8*
mlu
August 11, 2007, 1:53am
3
Have you checked the setting of NVGPM bit 2 ?
It must be set to one to boot from flash, otherwise it boots SAMBA from ROM.
Regards
Magnus
Hi Mangus,
I’m gonna sound like a doofus, but how do I check that?
~Kam (^8*
mlu
August 11, 2007, 2:44am
5
Use OpenOCD telnet interface to get the information:
flash info 0
and:
at91sam7 gpnvm <set|clear>
at91sam7 gpnvm 0 2 set
http://openfacts.berlios.de/index-en.ph … c_Commands
/Magnus
Success! You’re the man! That was it…