platformio / platform-atmelsam

Atmel SAM: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/atmelsam
Apache License 2.0
82 stars 108 forks source link

SERCOM Peripherals not updating #154

Open MasterTim17 opened 3 years ago

MasterTim17 commented 3 years ago

Hello im currently debugging a SAMD21G18A and found out, that the SERCOM Peripherals tab doesnt change values. Other peripherals like PORT or PM->APBCMASK change value. The values of sercom always stay 0, while watching them via watch ((Sercom*)0x42000c00).SPI.DATA.bit.DATA reveals the correct value

valeros commented 3 years ago

Hi @MasterTim17 ! That's strange, what's the version of the atmelsam platform installed in your system?

MasterTim17 commented 3 years ago

im using version 6.0.1

valeros commented 3 years ago

Could you please try the upstream version of the platform, for example:

[env:test]
platform = https://github.com/platformio/platform-atmelsam.git
framework = ...
board = ...
MasterTim17 commented 3 years ago

Tried it, same problem