Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create industruino_d21g.json #73

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

cheetor5923
Copy link

Board definition file for Industruino D21G boards. first commit towards - #27

This still has some problems when compiling, variant.h from Industruino does not #define A0
A1, A2 or A3. causing wiring_analogue.c to not compile. Fixed that up in the Variant.h for now by hand
and submitted a bug report to their githubs.

still fails on program & verify
CONFIGURATION: https://docs.platformio.org/page/boards/atmelsam/industruino_d21g.html
PLATFORM: Atmel SAM 3.8.0 > Industruino D21G
HARDWARE: SAMD21G18A 48MHz, 32KB RAM, 256KB Flash
DEBUG: Current (atmel-ice) On-board (cmsis-dap) External (atmel-ice, blackmagic, jlink)
PACKAGES: toolchain-gccarmnoneeabi 1.70201.0 (7.2.1), framework-arduinosam 4.3.190711, tool-bossac 1.10700.190624 (1.7.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 16 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 1.2.0
| |-- 1.0
|-- 1.1.0
|-- <FreeRTOS_SAMD21> 1.0.0
Checking size .pio\build\industruino_d21g\firmware.elf
Memory Usage -> http://bit.ly/pio-memory-usage
DATA: [===== ] 52.7% (used 17280 bytes from 32768 bytes)
PROGRAM: [= ] 10.6% (used 27824 bytes from 262144 bytes)
Configuring upload protocol...
AVAILABLE: atmel-ice, blackmagic, cmsis-dap, jlink, sam-ba
CURRENT: upload_protocol = sam-ba
Looking for upload port...
Auto-detected: COM4
Forcing reset using 1200bps open/close on port COM4
Waiting for the new upload port...
Uploading .pio\build\industruino_d21g\firmware.bin
Atmel SMART device 0x10010005 found
Erase flash
done in 0.828 seconds

Write 27824 bytes to flash (435 pages)
[==============================] 100% (435/435 pages)
done in 0.144 seconds

Verify 27824 bytes of flash with checksum.
Verify failed
*** [upload] Error 2
=================================================================================================== [ERROR] Took 11.27 seconds ===================================================================================================
The terminal process terminated with exit code: 1

Board definition file for Industruino D21G boards. first commit towards - platformio#27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant