Compiling Imagecraft or Codvision C for bootloaders.

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

So I would like to compile some C code with the Codevision or Imagecraft compiler to load onto a chip with a 512 byte bootloader. Can anyone offer a tip or two? It would be greatly appreciated.

I can't download anything right now, so I can't get the compilers myself, and I am trying to help someone out.

Thanks,

SG

Extra Info: He will be using the BLIPS downloader with a Mega8

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

I'm not sure about CodeVision, but ImageCraft has a Boot Loader Options check box in the Compiler Options - Target tab. Select Boot Loader and select the Boot Size from a pull-down menu.

Tom

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

there's a perfect (since it's mine) bootloader in 512Bytes plus PC side program (GUI). The AVR side is asm, not C, because I wanted support for Atmel's App Note 109 protocol and its fast block mode to fit in 512Bytes. So I recoded and added block mode to an asm language bootloader that existed. All the C bootloaders that I found don't fit in 512B with block mode fast I/O. So this is BLIPS 2.1 in the academy files section.

As I write this, BLIPS (the PC side) doesn't run in the German version of WIn XP. Folks over there are debugging for me since I'm not bi-lingual on the PC.

The asm code should work with BLIPS or any App Note 109 compatible PC program.