SparkFun Forums 

Where electronics enthusiasts find answers.

Tips, tricks, & best best practices using Artemis with your board designs.
User avatar
By Binder11
Hello everyone

I have implemented the Artemis module on my own PCB with exposed pins for programming
RX, TX, Boot, Reset, SWDIO, SWCLK

The question is: does the module come with a bootloader or the Arduino Core?
Also, do i need to implement the reset circuit in order to load code? (apparently Reset needs to be pulled low, then Boot high for a few milliseconds )

User avatar
By PaulZC
Hi @Binder11,
Yes, you will need to replicate the CH340 "DTR" or "RTS" Reset and Boot circuit that you will see on the Artemis RedBoard schematics. That is an important feature needed by the bootloader.
If I recall correctly, the module does come pre-programmed with the bootloader and possibly a "Blink" example too.
Best wishes,
User avatar
By Binder11
Thank you.
It is good to know that the board comes with a bootloader.

I have replicated the BOOT and RESET circuit from the schematics.
However, I cannot upload anything using the Arduino IDE.
Selecting the Artemis module, the code does not compile (empty code)
Selecting any other board, the error is:
"Connecting over serial port COM8...
Tries = 3
Upload failed

Also, I am using windows and a CP2012 USB to TTL chip. The chip has a DTR pin and I am running everything at 1.8V. Using the ASB bootloader. Perhaps DTR pin is only usable with CH340 chip?

thanks for the help
User avatar
By PaulZC
There is a lot of useful information about the boot loader reset circuit in this guide: ... 1610662735

Do you see any activity on any of the IO pins? If the factory test “blink” example is still running you might see some of the pins going high then low.

I have only ever used Artemis at 3.3V, not 1.8V, so I don’t really know what to suggest. Is there any way you can try 3.3V?
User avatar
By PaulZC
Also, are you using the CP2102? That looks like a 3.3V part? Are you level-shifting to 1.8V? (Maybe you could share your schematic?)
Best wishes,
User avatar
By Binder11
I successfully got it to upload... Hooray
It turns out to just be a bad solder connection on the boot pin.
Thanks for the help

For documentation:
- uploading was with Arduino IDE, ASB bootloader on "edge" board, with correct Baud rate
- Uploading on 1.8V, 2.5V, and 3.3V works
- No crystal oscillator was implemented
- Bootloader circuit was made on a breadboard.
 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

long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]