Author Topic: cannot communicate with my LPC2148 board using full duplex communication mode  (Read 5883 times)

Jagrut

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
    • Email
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 ?
« Last Edit: December 15, 2012, 07:53:46 am by Jagrut »

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
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
Embedded Systems Academy, Inc.
support at esacademy dot com

Jagrut

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
    • Email
Thank you for a quick response.

Under this situation, should I change the LPC2148 Chip ?

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
I would double-check the board design and operation first.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

Jagrut

  • Jr. Member
  • **
  • Posts: 3
    • View Profile
    • Email
Thank you so much.