hex file by AVR Flowcode 4 doesn't run correct on HW
Posted: Wed May 26, 2010 6:32 pm
Hello,
Solving the last issues by spi and return code = 1, brings me to another topic due to generated hex file after compilation by AVR FlowCode v4
The strange thing is that after compiling the C Source generated by AVR FlowCode V4 the program doesn't run correctly on HW
I discovered this by comparing the generated hex file (18k) generated by AVR Studio 4.18 SP2 and the hex file (11k) generated by AVR FlowCode v4.
Both compiler programs are using the same C source which is generated by AVR FlowCode v4
The result is that the hex file from AVR Studio runs on HW without problems and the generated hex file by AVR FlowCode v4 doesn't run correctly.
Both hex files are programmed with the same AVR programmer which uses the STK500 protocol with chip settings; AVR-Clock 16 MHz, AVR-fusesettings 0xdf, 0xff, 0xff
I have used the same program i send earlier to Ben and have made all your SPI recommendations and solved the SPI hang problem which i mentioned in the SPI topic but the program just runs correctly when the hex file is generated by AVR Studio and not by AVR FlowCode.
So the question is what is it this time ?
I have send you the updated flowCode source by PM
Kind Regards
Huib
Solving the last issues by spi and return code = 1, brings me to another topic due to generated hex file after compilation by AVR FlowCode v4
The strange thing is that after compiling the C Source generated by AVR FlowCode V4 the program doesn't run correctly on HW
I discovered this by comparing the generated hex file (18k) generated by AVR Studio 4.18 SP2 and the hex file (11k) generated by AVR FlowCode v4.
Both compiler programs are using the same C source which is generated by AVR FlowCode v4
The result is that the hex file from AVR Studio runs on HW without problems and the generated hex file by AVR FlowCode v4 doesn't run correctly.
Both hex files are programmed with the same AVR programmer which uses the STK500 protocol with chip settings; AVR-Clock 16 MHz, AVR-fusesettings 0xdf, 0xff, 0xff
I have used the same program i send earlier to Ben and have made all your SPI recommendations and solved the SPI hang problem which i mentioned in the SPI topic but the program just runs correctly when the hex file is generated by AVR Studio and not by AVR FlowCode.
So the question is what is it this time ?
I have send you the updated flowCode source by PM
Kind Regards
Huib