Re: [Sdcc-user] SDCC bug: Optimizer breaks the code

2012-01-29 Thread Gert van der Knokke
Op 19-01-12 16:50, Butuza Tamas schreef: > Dear SDCC developers, > > I found a bug when I tried to compile a code for pic16F1938. (14 bit enhanced > core) > > The problem is: The optimizer breaks the code. Makes part of the code > unreachable. > Error message is: > test.c:51: warning 110: conditi

Re: [Sdcc-user] [PIC16] Exporting full memory range in hex

2012-01-29 Thread Diego Herranz
Thanks a lot for your help Finally this is what I did: $ objcopy -I ihex -O binary file.hex file.bin $ dd if=file.bin of=file_full_range.bin count=1 bs=32768 (18f2550 memory size in bytes) $ objcopy -I binary -O ihex file_full_range.bin file_ready_for_bootloader.hex Opening the files with a