Re: [Sdcc-user] Bootloader Questions (8051)

2011-05-24 Thread George Oikonomou
Fantastic! Thanks a lot - very helpful geo - Original Message - George, You totally understood me correctly. I advise never to overwrite the bootloader or the reset vector (and thus the IVT). The bootloader should enforce that. Let the bootloader forward the interrupt vec

Re: [Sdcc-user] Bootloader Questions (8051)

2011-05-24 Thread Maarten Brock
George, You totally understood me correctly. I advise never to overwrite the bootloader or the reset vector (and thus the IVT). The bootloader should enforce that. Let the bootloader forward the interrupt vectors to where the application will land. Usually for a bootloader it is no problem to wo

Re: [Sdcc-user] Bootloader Questions (8051)

2011-05-24 Thread George Oikonomou
Hello again Maarten, thanks for your fast reply. I would recommend to keep the bootloader in low memory and relocate the application instead. ... and by doing that, one never has to erase the page with the IVT when copying in a different application. Is that the point you're trying to make he

Re: [Sdcc-user] Bootloader Questions (8051)

2011-05-24 Thread Maarten Brock
Hello George, In this context I recommend to use VECTOR (ABS,CODE) with a .org 0x. The .globl __interrupt_vect can probably be left out. I personally do not fully agree with the chosen solution in the wiki, because usually the code memory is flash that needs to be erased in pages and not

[Sdcc-user] Bootloader Questions (8051)

2011-05-23 Thread George Oikonomou
Hello all and apologies for the length in advance. I'm working on a UART bootloader for the cc2430. In the longer term it will be co-hosted with images of the contiki-os. I started with the info found in the relevant tutorial on the sdcc wiki. Let me start by saying many many thanks for publishing