Go Down

Topic: Burn .hex into Arduino UNO 3. (Read 1 time) previous topic - next topic

MohitJindal

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 ?

dxw00d

Quote
Will the file work properly


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

MohitJindal


dxw00d

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.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy