Pages: [1]   Go Down
Author Topic: Burn .hex into Arduino UNO 3.  (Read 960 times)
0 Members and 1 Guest are viewing this topic.
India
Offline Offline
Jr. Member
**
Karma: 0
Posts: 53
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi; I have a .hex file written for ST CORTEX-M3 ( ST32F103C8 @ 72MHZ,32BIT). I want to burn it inside Uno 3. How I can burn it ? Will the file work properly after burning because Uno 3 has Atmega 328 and the file is written for ARM Cortex smiley-roll-blue
After burning I have to remove the Atmega 328 chip from UNO 3 ?
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Will the file work properly

No. It won't work at all. There's no point in even trying.
Logged

India
Offline Offline
Jr. Member
**
Karma: 0
Posts: 53
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

oh but why it will not work ?
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Because the processor architecture, and machine language are entirely different. One is an 8 bit cpu, the other is 32 bit. Opcode lengths are different. Register sizes are different.

You can't just take binaries compiled for one architecture and run them on a different architecture.
Logged

Pages: [1]   Go Up
Jump to: