LPC1758 ADC debug issues
Greetings,
I am using crossworks 2.0.5. and Olimex ARM-USB-OCD. When debugging LPC1758 target I have the same problem as mentioned in that thread:
http://tech.groups.yahoo.com/group/lpc2000/message/44833 i.e. the ADC is "not working" while JTAG is connected to target. I am wondering is there something that I can do to solve that issue? Any suggestions?
I have another issue with download speed. I have around 1.6Kb/sec which is extremely slow and crossworks freezes my PC before initiating actual download to target. With crossworks 1.7 and LPC2148 there was no such problem at all...
Best Regards,
Svilen
-
With reference to the ADC, this is because the bootloader hasn't run and set the ADCTRIM register. I think Jon was working on a solution for this.
As to slow download speed, make sure that you have enabled Fast Memory Accesses in the target interface. If not, then there is a huge latency when over USB checking the status of a completed memory read/write through the Cortex debug port.
-
Thanks Paul,
Setting ADCTRIM bits to 1 solves the issue about the ADC. Strange, but in datasheet there is so little information about that. Also it is strange why the ADC works when target is started without debugger...
About the JTAG speed, fast memory acces is set to yes of course. I have experimented with almost every JTAG and loader setting without success. Again it is strange why JTAG works so well with older crossworks 1.7.
Please sign in to leave a comment.
Comments
2 comments