Flash Magic Forum

In-System Programming Support => LPC2xxx => Topic started by: Jagrut on December 15, 2012, 07:30:50 am

Title: cannot communicate with my LPC2148 board using full duplex communication mode
Post by: Jagrut on December 15, 2012, 07:30:50 am
Hello,
        I have got a custom designed LPC2148 development board, i have ensured that the specified pins get the specified signal on my board to enter into ISP mode. while communicating with the device through the Half duplex communication mode it works fine. I'm able to load programs to my chip and the program executes as expected. when i uncheck the tick from Half duplex communication mode it is giving me an error message that "the device needs to be reset in ISP mode, unable to communicate". The debug file generated is attached.

        Is it ok if i continue using the half duplex communication mode for my projects ?
       
        would it deteriorate the onchip flash memory block ?

        Is there a provision to use the device under full-duplex communication mode ?
Title: Re: cannot communicate with my LPC2148 board using full duplex communication mode
Post by: Andy Ayre on December 17, 2012, 02:32:53 am
Pretty strange:

tx> ?
rx> Synchronized\d\a
tx> Synchronized\d\a
rx> \fd\7f?\9f\ff\ff\bd\ff\fb\df\aOK\d\a

Flash Magic sends '?' and gets back "Synchronized" as expected. Flash Magic then sends "Synchronized" and expects to get it back again, but instead there is junk.

My guess is that the bootloader is incorrectly measuring the baudrate in the "?" or there is a problem with the microcontroller that causes it to forget the baudrate.

If half-duplex is working better then there is no reason not to use it, except it will be very slow. However I think it is masking another problem - perhaps electrical.

Andy
Title: Re: cannot communicate with my LPC2148 board using full duplex communication mode
Post by: Jagrut on December 17, 2012, 08:43:55 am
Thank you for a quick response.

Under this situation, should I change the LPC2148 Chip ?
Title: Re: cannot communicate with my LPC2148 board using full duplex communication mode
Post by: Andy Ayre on December 18, 2012, 01:08:09 am
I would double-check the board design and operation first.

Andy
Title: Re: cannot communicate with my LPC2148 board using full duplex communication mode
Post by: Jagrut on December 18, 2012, 01:54:02 am
Thank you so much.