Protocentral / protocentral-healthypi-v3

HealthyPi is the first fully open-source, full-featured vital sign monitor. Using the Raspberry Pi as its computing and display platform, the HealthyPi add-on HAT turns the Raspberry Pi into a vital sign monitoring system.
http://healthypi.protocentral.com
Other
194 stars 51 forks source link

useless firmware after update - me too! #16

Closed xametxe closed 5 years ago

xametxe commented 5 years ago

Tried to modify firmware and upload it to my healthypi v3 using Arduino IDE. Uploading seems to work fine: `Atmel SMART device 0x10010005 found Device : ATSAMD21G18A Chip ID : 10010005 Version : v2.0 [Arduino:XYZ] Dec 20 2016 15:36:39 Address : 8192 Pages : 3968 Page Size : 64 bytes Total Size : 248KB Planes : 1 Lock Regions : 16 Locked : none Security : false Boot Flash : true BOD : true BOR : true Arduino : FAST_CHIP_ERASE Arduino : FAST_MULTI_PAGE_WRITE Arduino : CAN_CHECKSUM_MEMORY_BUFFER Erase flash done in 0.621 seconds

Write 27364 bytes to flash (428 pages)

[==== ] 14% (64/428 pages) [======== ] 29% (128/428 pages) [============= ] 44% (192/428 pages) [================= ] 59% (256/428 pages) [====================== ] 74% (320/428 pages) [========================== ] 89% (384/428 pages) [==============================] 100% (428/428 pages) done in 0.166 seconds

Verify 27364 bytes of flash with checksum. Verify successful done in 0.028 seconds CPU reset.`

Nevertheless, there is no data sent from the board and HealthypiGUI only shows flat lines. I tried to also re-install the zero bootloader, but IDE shows the following error: `Open On-Chip Debugger 0.9.0-g932ec70 (2017-02-15-11:32) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html debug_level: 0 adapter speed: 500 kHz adapter_nsrst_delay: 100 cortex_m reset_config sysresetreq Error: unable to find CMSIS-DAP device

Error burning bootloader`

I tried with different programmers (atmel-edbg, atmel-ice, atmelsam-ice, etc.) and different OSes (mac with El Capitan, ubuntu 16.04) without working.

So why doesn't it work? And how can I get my board running again? Thank you in advance

kyokusei commented 5 years ago

Try compiling with 1.6.15 version of Arduino SAMD Boards

xametxe commented 5 years ago

It works! thnx