Post Created date
bootloaders and xmega?
I found out the problem. My bootloader is using interrupts and I forgot that I had to move the ISRs to the boot section, so I had to move them back to the application section...
Thursday, 1 July 2010 - 19:28
bootloaders and xmega?
clawson wrote: If it gets to 0x0000 and there's a JMP there then how could it possibly fail to execute it? Are you saying that if you single step the JMP it doesn't then jump over...
Thursday, 1 July 2010 - 15:18
bootloaders and xmega?
clawson wrote: But surely location 0x0000 holds an (R)JMP that crosses the vector table and enters the C pre-amble of the app code. Are you saying that the debugger is not showing...
Thursday, 1 July 2010 - 13:33
bootloaders and xmega?
I am having a problem with jumping back to 0x00000. I am running a boot loader that reads in a hex file and programs application space in FLASH. I have checked to ensure that my...
Wednesday, 30 June 2010 - 16:54
How to use morepgmspace.h
clawson wrote:In a C program you should never need to be accessing machine registers directly. If you really have to include code to clear R31 it's not a solution - what happens...
Tuesday, 29 June 2010 - 14:54
How to use morepgmspace.h
I think I figured out the problem. After the memcpy_PF function I noticed the Z pointer went to 0x02xxxx. The Z pointer gets used for that pointer operation. This is obviously not...
Tuesday, 29 June 2010 - 14:13
How to use morepgmspace.h
wek wrote:Why 0x20000 ? JW That is the address for the start of my bootloader. I have to OR it together because p is only a 2 byte address when I need 3. clawson wrote:Also look...
Tuesday, 29 June 2010 - 13:31
ATxmega128a1 eeprom and boot loader
Alright I will try to update my AVR and see if I can get different results. Thanks
Monday, 28 June 2010 - 21:07
How to use morepgmspace.h
I am having a strange problem when I use memcpy_PF. I am using a atxmega128a1 and trying to implement a bootloader. I have a list of strings stored in the boot section and I use...
Monday, 28 June 2010 - 21:03
[TUT] [C] GCC and the PROGMEM Attribute
clawson wrote:Search out Carlos Lamas (I may have spelt the wrong?) utilities called morepgmspace.h EDIT: take a look at this thread: It may...
Monday, 28 June 2010 - 15:55
[TUT] [C] GCC and the PROGMEM Attribute
No it is beyond 64K but the PROGMEM doesn't travel with the .text section and have it start at 0x020000 If it doesn't then how can I store those strings in my boot section and...
Friday, 25 June 2010 - 22:07
[TUT] [C] GCC and the PROGMEM Attribute
I have a Atxmega128a1 and the boot section starts at 0x020000. I know that it doesn't work past 64k but my boot section is only 8k, so if I move the .text section to the boot...
Friday, 25 June 2010 - 21:50