Chip45 bootloader - anyone use it?

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Here's an email I sent them... No doubt cockpit error on my part. Interesting auto-baud: the program expects UUUUU... to come from the terminal program at reset. It then adjusts the UART registers to match. Says the terminal program should be at 19.2K to start, and there are commands to shift speeds. But the program is fooled, if the terminal program begins at, say, 57600 - the bootloader doesn't know the difference. Works at any speed where the rate is viable for the crystal freq. (baud error).

But as below, anyone get it to run?
--------

Quote:
Thanks for the bootloader contribution.
May I note for you that there is a typographical error in the command explanations: the "er" command, left-most column mistakenly says "mr".

I used JTAG to flash the code into a mega128. It comes up and responds to commands as expected.
I was not able to download a .hex file. Here is what I did:

Entered pf and pressed enter. This sends pf and no
The response was "pf+" and newline
I then told my terminal program to send a .hex file.
Nothing further is displayed and the terminal program hangs with an hourglass mouse cursor, suggesting XON/XOFF handshake hung up.
Have to kill the terminal program.

Mega128, 20MHz xtal
Bray's Terminal v1.9b. 19.2Kbaud chosen. XON/XOFF mode.
COM1 (built-in com port)
Windows XP

First lines of hex file (produced by WinAVR/Atmel Studio)
:100000000C94F9010C9416020C9416020C9416022E
:100010000C9416020C940C1A0C9416020C941602F2
:100020000C9416020C9416020C9416020C941602F0

I'll try another hex file.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
Mega128, 20MHz xtal

Atmel shipping a 20mhz Atmega128 part?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

bluegoo wrote:
Quote:
Mega128, 20MHz xtal

Atmel shipping a 20mhz Atmega128 part?

My error - 16MHz. Confused with ARM project.