Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/16/08 21:43
Read: times


 
#158307 - ICP tips
Responding to: ???'s previous message
Chris Bertrand said:

I will be using the push pull config hardware on the hardware side for ICP for the VDD fix.

This is a very good choice

Chris Bertrand said:

Now, starting with a new populated blank MPU. I know that I have to include the nxp reference NAND gates to first program the bridge MPU with the ICP bridge code just as if it were a production/prototype MPU and in theory is should be "done".....


When you first power up a new NXP LPC936 microcontroller, it goes to the bootloader by himself, and you can program it via ISP. Then, if you have a new MPU you don´t need the gates. You can program it via ICP, but you need to enter the chip in this mode, this is done in the MCB900 board by the gates and the handshake signals.

Chris Bertrand said:

Now my question. Once the bridge MPU is programmed, I assume that I must take it out of the "reset" jumper mode (assuming I build it like the mcb900 with the two jumpers) and put it bridge MPU in "run" mode.


That´s correct!

Chris Bertrand said:

I was also told the bridge MPU is "transparent" to flashmagic, which lead me to the question, if the bridge MPU is in "run" mode, won't the flashmagic tool time out because the reset is not active?? What must the condition of the bridge MPU be in to properly have the ISP command converted to ICP? I'm assuming the bridge code is what is converting it (makes sense) but isn't flash magic waiting for the call back through the UART to tell it that the programming can begin? Or does the bridge code send something back to flashmagic to allow the program to "see" the hardware is ready but in reality the ISP to ICP conversion is happening.


When you use the bridge you must to uncheck the option "Use DTR and RTS to enter to ISP mode in the hardware config at the advanced options. In this mode the flashmagic asume that the bridge enter the MCU in ICP mode when power up. If yor chip doesn´t enter into the ICP mode you must tu cycle the power of the bridge.

Roberto Muñoz




List of 9 messages in thread
TopicAuthorDate
Question for ErikM ICP bridge hardware            01/01/70 00:00      
   no idea, sorry            01/01/70 00:00      
      I've also posted the same question at Keil            01/01/70 00:00      
   i think you would be better off ...            01/01/70 00:00      
   ICP tips            01/01/70 00:00      
   Ok a weird issue has come up            01/01/70 00:00      
   Here is a better description and exact issue....            01/01/70 00:00      
      I should also add            01/01/70 00:00      
         Here is the return data stream echo            01/01/70 00:00      

Back to Subject List