General Arduino

DFR0229 Red light

userHead Eli.Snow 2025-05-03 15:20:28 466 Views1 Replies

Hi, I was trying to connect my DFR0229 (SD module) to an Arduino Nano Every. I am trying to communicate with the SD module with Arduino IDE using an USB connected to the Arduino. I get a red light on the SD module once the power is plugged in and it does not go away. Adding a card into the module does not change anything.

 

Could not add DFR0229 as a tag.

 

Connections: 
*5v to 5v
*ground to ground
*sck to d13
*miso to d12
*mosi to d11
*ss to d8

 

The wires between the arduino and the SD module are dupoint dfrobot cables.

 

I also tried the SD card test from the wiki page for the product. In the code I changed chipSelect to 8 and pinMode to 53. I also get this error if I do not change these values. Arduino's pinout says ss is on pin 8. I got the following response in the console:

"Sketch uses 12834 bytes (26%) of program storage space. Maximum is 49152 bytes.
Global variables use 937 bytes (15%) of dynamic memory, leaving 5207 bytes for local variables. Maximum is 6144 bytes.
avrdude: jtagmkII_initialize(): Cannot locate "flash" and "boot" memories in description"

2025-05-03 21:44:12

You're seeing:

avrdude: jtagmkII_initialize(): Cannot locate "flash" and "boot" memories in description

This indicates a board definition/upload toolchain mismatch, not related to the SD card module.

In Arduino IDE: Go to Tools > Board > Arduino megaAVR Boards > Arduino Nano Every

Then go to Tools > Programmer and select "jtag2updi (default)"

Use "Sketch > Upload", not "Upload Using Programmer"

Also make sure you're not holding the reset button when uploading.

userHeadPic ahsrab.rifat