[Icc-avr] Memory mapped display not working in bootloader

John Baraclough j_baraclough at zetnet.co.uk
Thu Sep 13 08:21:06 PDT 2007


Hi Tim,

I think you may need to modify 'crtboot128.s' as it doesn't enable 
external RAM. The file 'extnewram.s' must be included to enable 
external RAM. Have a look at 'crtatmegaram.s' to see how this is done.

John


At 15:17 13/09/2007, you wrote:
>Hello
>
>I am trying to write my first bootloader, for Mega USB1287. This is a
>128K device. I have set the IDE to give me a 4K bootloader, and set to
>use external 32K sram.
>
>I have a 32K sram at 0000-3FFF and a display memory mapped at
>0x8400-0x8F00. The display works fine in a normal program, however in
>the bootloader nothing seems to be being output to the display (same
>code copied to a new program) - in fact there is no activity on the
>external memory port at all. Is there any reason I can't do it like that
>in a bootloader?
>
>Or am I missing something really obvious?
>
>
>--
>Tim Mitchell
>tim at sabretechnology.co.uk http://www.sabretechnology.co.uk
>Sabre Technology (Hull) Ltd, 3a Newlands Science Park, Hull HU6 7TQ
>Registered in England and Wales no.3131504
>t:01482 801003 f:01482 801078
>
>_______________________________________________
>Icc-avr mailing list
>Icc-avr at imagecraft.com
>http://dragonsgate.net/mailman/listinfo/icc-avr



More information about the Icc-avr mailing list