Author Topic: programming 2378 on mcb2300 board from Keil  (Read 5287 times)

spreet

  • Jr. Member
  • **
  • Posts: 1
    • View Profile
programming 2378 on mcb2300 board from Keil
« on: May 27, 2009, 11:48:49 am »
Trying to program 2378 on mcb2300 board using flashmagic serial port.
As far as I can tell, the board is setup to program using serial port. The jumper settings are as follows:
J10 - ISP is IN (ON)
J13 - ETM is OUT (OFF)
When you try to program, it fails to autobaud - with the message - autobaud failed - step 1
If I try to read the device signature, it is the same response.
I have seen some posts on this but no clear answers as to what is wrong.
I would think that this should be the simplest thing to do  i.e. program the device using serial port with a utility that is designed to do this?

Any suggestions?
Thanks

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: programming 2378 on mcb2300 board from Keil
« Reply #1 on: May 28, 2009, 09:14:38 am »
My MCB2300 version 3.1 board is set up as follows:

J2, J1, J10, J3, J11, J8, J9, J6, J5 = on
J13 = off

Cable is connected to COM0 (I've made the mistake before of connecting to COM1).
No JTAG interface connected.
Power from USB.

Flash Magic is set to:

LPC2388
COM 1
19200 baud
Interface: None (ISP)
Oscillator: 12.000

Advanced Options -> Communications -> High Speed = off
Advanced Options -> Communications -> Half duplex = off
Advanced Options -> Hardware Config -> Use DTR and RTS to control RST and P0.14 = on
Advanced Options -> Hardware Config -> all other options are off
Advanced Options -> Hardware Config -> T1 = 50, T2 = 100
Advanced Options -> Timeouts -> Use my timeouts = off

I'm using a PC with a built in COM port. USB to RS232 cables can be problematic and would be the first thing I would suspect.

ISP would appear simple initially, but in fact there are a lot of variables to consider.

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

alexdaft

  • Jr. Member
  • **
  • Posts: 1
    • View Profile
Re: programming 2378 on mcb2300 board from Keil
« Reply #2 on: June 17, 2009, 02:14:46 am »
Thanks !!!!

I solve the problem with Advanced Options -> Hardware Config -> Use DTR and RTS to control RST and P0.14 = on
Advanced Options -> Hardware Config -> all other options are off