Hi all, i am trying to use SAM-ICE and SAMBA 2.6 to program my AT91SAM7S256 board. I can program via Olimex JTAG and OpenOCD but cannot debug (for some odd reason) via Olimex ( it loads forever, 27% done...). I can debug via SAM-ICE but not load flash! I get the error reason as written in the subject line when I hit the "Send file" button and after a looong while the Samba loader times out. Anyone have a solution??? Thanks in any case for looking into the problem! Regards Nils
Nils Soderman wrote: > Hi all, i am trying to use SAM-ICE and SAMBA 2.6 to program my > AT91SAM7S256 board. I can program via Olimex JTAG and OpenOCD but cannot > debug (for some odd reason) via Olimex ( it loads forever, 27% done...). > I can debug via SAM-ICE but not load flash! I get the error reason as > written in the subject line when I hit the "Send file" button and after > a looong while the Samba loader times out. Anyone have a solution??? > Thanks in any case for looking into the problem! > Regards > Nils Maybe a problem with the handling of RTCK. I don't know much about the Segger J-Link/SAM-ICE but as far as I know the adaptive clocking can be disabled and fixed clocking can be used which should help. I also do not use SAM-BA and don't know if or where the clocking-mode can be configured in SAM-BA. If there is no option in SAM-BA try if you can used JLINK.EXE from the Segger Software-Package to change the setting.
Martin Thomas wrote: > Nils Soderman wrote: >> Hi all, i am trying to use SAM-ICE and SAMBA 2.6 to program my >> AT91SAM7S256 board. I can program via Olimex JTAG and OpenOCD but cannot >> debug (for some odd reason) via Olimex ( it loads forever, 27% done...). >> I can debug via SAM-ICE but not load flash! I get the error reason as >> written in the subject line when I hit the "Send file" button and after >> a looong while the Samba loader times out. Anyone have a solution??? >> Thanks in any case for looking into the problem! >> Regards >> Nils > > Maybe a problem with the handling of RTCK. I don't know much about the > Segger J-Link/SAM-ICE but as far as I know the adaptive clocking can be > disabled and fixed clocking can be used which should help. I also do not > use SAM-BA and don't know if or where the clocking-mode can be > configured in SAM-BA. If there is no option in SAM-BA try if you can > used JLINK.EXE from the Segger Software-Package to change the setting. Thanks Martin, I tried changing the settings, to no avail. In Samba NOTHING can be set, Changing in JLINK gave the same error, even down to 2 kHz clocking! I will now skip the Samba approach and run with ARM-JTAG-USB and Open-OCD instead. Although I have a little problem starting up the debug session. It continuous load 27% !!! Jim Lynch tip with Norwegian reset (power-off/power-on) does not help. Sigh... Best regards, Nils
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
Log in with Google account
No account? Register here.