Forum : ARM
Post Information | Post |
---|---|
November 18, 2009 - 7:27am
|
I have a Reva kit v2.0, that works very well. I then bought some STM32-P103 eva bords from Olimex, that I cant program with the R-link shipped with my Reva 2.0 starter kit. My code is very tiny, it just flashes a LED, so it's not the 32k limit. I have notised that JTCK have a pull up on the olimex bord, I changed that, I also changed BOOT1 from low to high (even if it should not matter when BOOT0 is set to low). So no the to boards should be rather simular. I borrowed a frends emulater (a I-One from I-system) that works fine with both my old R-eva and my new Olimex boards, with the same code as faild with R-link!! None of my home made target system's works with the R-link either, despite they work with my frends I-One. Is there some kind of hardware lock in the R-eva kit, so I cant use R-link to another board?? |
Hi
Have checked this post http://raisonance-forum.xsalto.com/viewtopic.php?id=2497
With Olimex boards it is often the issue.
Regards,
Matloub
Hi,
There should be no problem for doing this. Just make sure that you keep the two jumpers on the RLink part in JTAG configuration, as they were when you used the REva board. Also make sure that either you break the RLink from the eval part of the REva board, or that you remove everything from it (jumpers, daughterboard, cables, etc.)
I looked at the schematic of the board and found two possible sources for the problem.
1. The R-T jumper MUST NOT be set. It connects RST to TRST, which should never ever be done as it will prevent correct JTAG (or SWD) communication.
2. The U2 component might be interfering on the RST signal. Do you have its reference? Would you be able to unsolder it cleanly, just to see if it makes a difference?
I don't think the pullups would be a problem, but you can remove them if you want, as the RLink includes some too. (4K7)
You should also try both JTAG and SWD modes. (turn power Off and ON when switching)
I suggest you make your tests using RFlasher. You'll have easier access to the options and basic operations (Erase/Program/Verify/Run) and probably clearer error messages too.
Please let me know if that helps.
Best Regards,
Vincent
Thanks Vincent,
It turned out that the reset circuit U2, was causing all the problems!
Best regards
Ola