SparkFun Forums 

Where electronics enthusiasts find answers.

Tips, tricks, & best best practices using Artemis with your board designs.
User avatar
By Franklin321123
#233553
Our group has developed working code using the Arduino IDE and flashed it to an Artemis Module on a RedBoard. We are now looking to implement this code on a custom PCB with an Artemis Module. Is there any difference between the Artemis module on the RedBoard and a module that we would buy by itself? (e.g., firmware from Sparkfun?).

In terms of flashing the module on the custom PCB, it looks like JTAG and SWD protocols are supported. Is it possible to still use the Arduino IDE with these debuggers? Can anyone point us to resources that might help guide us through this process?

Another option that we are exploring is to remove the Artemis on the RedBoard and replacing it with a custom jig that connects our PCB to the RedBoard (using the VCC, RST, SWDIO, SWDCK, GND, and SWO connections). Aside from the difficulty of removing the existing Artemis module from the RedBoard and attaching our own (we have an electronics shop to do this), would this system theoretically work for programming our custom PCB with the Artemis via the Arduino IDE?

Thanks!
User avatar
By Franklin321123
#233554
Franklin321123 wrote: Tue May 24, 2022 1:57 pm Our group has developed working code using the Arduino IDE and flashed it to an Artemis Module on a RedBoard. We are now looking to implement this code on a custom PCB with an Artemis Module. Is there any difference between the Artemis module on the RedBoard and a module that we would buy by itself? (e.g., firmware from Sparkfun?).

In terms of flashing the module on the custom PCB, it looks like JTAG and SWD protocols are supported. Is it possible to still use the Arduino IDE with these debuggers? Can anyone point us to resources that might help guide us through this process?

Another option that we are exploring is to remove the Artemis on the RedBoard and replacing it with a custom jig that connects our PCB to the RedBoard (using the VCC, RST, SWDIO, SWDCK, GND, and SWO connections). Aside from the difficulty of removing the existing Artemis module from the RedBoard and attaching our own (we have an electronics shop to do this), would this system theoretically work for programming our custom PCB with the Artemis via the Arduino IDE?

Thanks!
Edit: I think we will need to connect the VCC, GND, RST, TXO, RXI, and BOOT pins
User avatar
By dima_shlenkevitch
#235759
If you would like to use Arduino IDE, one possibility is to implement UART connection on the custom PCB. After that you will need USB to UART breakout PCB to program the Artemis module.
It works well.
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum