downloading problem with SAM7-P64

Hi Olimex,

We have recently purchased a SAM7-P64 board from olimex. I tried using it with Crossstudio for Arm by downloading their evaluation version.

I am able to connect to the Macraigor wigler. It identifies the device but when I try to debug any program it says

Downloading loader.exe to Macraigor wigler(20 pin)

Download complete

Downloading usart.elf to Macraigor wigler(20 pin)

Erasing…

Download failed

and then comes up with a message box saying

Write to ARM debug comm port timed out

I have tried all possiblities of jumpers and project settings. Can anybody tell me what I am missing on ?

Thanks in advance

Paresh

Hi all,

I just found that the kit works fine in ARM RAM debug mode but gives verify error in ARM Flash debug mode.

Any clues please ?

Paresh

Hi again,

Now the kit works fine with the Wigler but gives verify error if I try to use the Arm Simulator. Are there any special settings for the simulator ?

Is there anyone on this forum who can help us ? :cry:
Thanks in advance
Paresh

Hi,

looking at your messages - your problem is with using CrossWorks not ARM-JTAG os SAM7-P64 boards.

Why don’t you contact Rowley directly? They are very helpful for all their customers.

Best regards

Tsvetan

Olimex,

Thanks for the reply. I will ask Rowley and get back to you if needed.

Paresh Pai

I am having exactly the same problem with the STR-P711 (from Olimex too).

I cannot make it work! Have you found something? Did Rowley answered you?

Regards,

Leo

Hi lgiordano,

I asked Rwley and here is a single line answer they sent me :

The next release of the ARM software will have several memory configurations for popular processors.

Please keep me informed if you get any improvements.

Best regards,

Paresh

Hi Paresh,

I could make it work by reseting the device several times, switching from Debug and Release mode, and by toggling a Stand-By jumper my board has.

Regards,

Leo

Hi Leo,

As I have said in my posts, even in my case the SAM7-P64 board is working fine now. I am having problems with the Target → Connect Arm Simulator (not with the 20 pin wiggler ). The internal software simulator is not responding properly while the in circuit debugger is fine.

Rowley has finally accepted this as a bug as their latest reply suggests below :

“It could be considered a bug; I have nothing else to add other than the next release plans to model the memory of many of the popular micros.”

Thank you for your participation in my thread.

Paresh

Hi Paresh,

I have also same kit and get verify error in ARM Flash debug mode, what did you do to get it work?

Josh

Hi Josh,

I mainly played around with the following :

  1. Try reducing jtag speed by trying various clock divider settings

  2. Select the exact chip in project options → build

  3. Select the correct loader file path and type in project options → target

  4. Lastly try a different power supply.

With a bit of try, you should be able to get it working.

Pl. note : Remove the two jumpers for TEST and BDS

Best of luck.

Paresh

Hi, Paresh what do you mean by “…trying various clock divider settings”?

Where can I change it? Do you mean PLL divider in startup.s file?

I fooled around a bit with this too (writing to flash memory), and got it to work only when I unlocked the flash sections using SAM-BA. After that, writing to flash works like a charm. If you don’t want to purchase CrossStudio, just download their demo, and use crossload.exe to write to flash. Works without product activation.

Hi Orion_pl,

Sorry for late response since I was on leave.

Try view → targets

Select the correct device (say Macraigor wigler) under Targets box on bottom right and then set the clock divider in the Properties box below.

Paresh