0

I don't know much about Arduino but I am interested in buying a Due 32bit board. I was wondering if you can program it bare-metal and if this requires a separate debugger or not?

Thanks

8
  • what do you mean by program it bare-metal?
    – jsotola
    Dec 29 '20 at 5:07
  • Yes arduino due can be programmed bare-metal. You don't need an OS running.
    – John Am
    Dec 29 '20 at 10:57
  • Let me suggest that you may want to learn some basics using the standard Arduino environment for the Due before trying to program "bare metal". It's not clear what you are trying to accomplish anyway. The Arduino environment is not all that far from "bare metal" as it is.
    – jwh20
    Dec 29 '20 at 15:52
  • 2
    The DUE has no interpreter (in a standard configuration). If you compile a C++ Programm with the Aduino IDE, C++ code is translated into ASM code (better call it machine code). C++ is not a scripting language. If you transfer the prog to the Due the standard way (boot loader ...), it is simply machine code that is stored in the flash of the Due. You can program the SAMD MC with an in system programmer. e.g with a second Arduino and the ISP programm. You only need a separate debugger (e.g JTAG) if you want to debug on the Due. You don't need one for programming. Dec 30 '20 at 14:36
  • 1
    You should also know, that assembler on a Due differs extremely from assembler on a e.g. Uno. Due uses a ARM Contex-M3 controller and Uno an AVR MC. Dec 30 '20 at 14:40
-2

In my understanding all ic in general can be hardwired but at a cost which is that some greater expense is incured say time or additional accessories also the datasheet and instruction set are a big must

1
  • 2
    the question is about Arduino Due
    – Juraj
    Dec 29 '20 at 6:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.