Downloading the compiled program to the C51 microcontroller

I am trying to load a compiled program into a microcontroller. Well, my problem is not programming and not loading. My problem is that uu download

The program is in C and has been compiled with SDCC. Mcu is an AT89S8252 ATMEL.

I built a simple parallel port programmer after MCU protocols for sequential programming, as indicated in its specification.

So far so good .. but .. what shoud am I uploading to mcu ??

when compiling, SDCC generates a lot of text reports .. and then .ihx .. I suspect that I should not download this file directly and then process it somehow to get the actual raw bytes to load.

any help would be much appreciated =)

+3
source share
2 answers

.ihx Intel? , . Intel hex - . Intel hex hex, , . . .ihx . , -, , MCU. , -, , . , , . .

+5

.ihx - Intel hex, . , S- Motorola, . , , . , , .

Intel hex S- Motorola? , , ?

XML Intel . , . . Intel HEX .

+2

Source: https://habr.com/ru/post/1728795/


All Articles