Hello I am a desktop application developer I am learning about arduino, I want to ask how the sd card works on the portable scanner tool when replacing or updating files on the sd card the portable scanner tool can update, how does it work does it change the bootloader itself?
Can you elaborate a bit. What is that tool? How do you update the data on the SD card; do you take the card out, do you update by connecting the tool to a PC. Which information is on the card? Do you have a specific problem; if yes, describe it.
The short answer is "no". The bootloader resides in a dedicated memory area in the microcontroller, not on the SD card. From that perspective you can compare it with a BIOS which is stored in flash memory of the PC.
When it comes to Arduinos, the usual way that they work
- When you reset the board (power cycle, reset button, ...), the Arduino runs the bootloader to check if you want to upload a new program or not.
- If the bootloader detects specific (serial) activity after the reset it assumes that you're uploading a new program and processes that. Once the upload is finished, the bootloader hands over control to the loaded program.
- If the bootloader does not detect activity within a certain time, it hands over the control to the program that is loaded.
- Once the loaded program is running, what happens depends on what the program is supposed to do.
I can visualise two scenarios regarding SD cards
- You switch off the Arduino, remove the card and load new data to it. Next you insert the card again and power the Arduino on.
- Your Arduino program has functionality to replace the data on the SD card.
In both case, the program will read data from the SD card when needed.
tool to scan the car, update I mean like this, I see it like changing the bootloader for example like this, https://www.youtube.com/watch?v=pZxq9xRqTWs
https://www.youtube.com/watch?v=D7qN5W_ylvc
I have no idea how they work.
How your question related to arduino?
Do you have a link with tool description other than Youtube?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.