LPC1758 ADC debug issues

Comments

2 comments

  • Avatar
    Paul Curtis

    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.

    0
    Comment actions Permalink
  • Avatar
    Svilen

    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.

    0
    Comment actions Permalink

Please sign in to leave a comment.