sipeed / platform-kendryte210

Kendryte K210: development platform for PlatformIO
https://platformio.org/platforms/kendryte210
Other
79 stars 31 forks source link

Cannot Blink Built-in LED with Basic Example Code #17

Closed baqwas closed 5 years ago

baqwas commented 5 years ago

Upload displays Done Saving, on-board LED blinks during process but no steady blink that occurs when code is running. Still cannot blink built-in LED (pin # 13?). Is there a checklist that I can follow to ensure that I have not omitted any step?

Thanks.

Output pane is hung with:

Downloading ISP: |
=============================================================================================================================================================================================================================================================================================================================================================================================================================================================| 100.0% 62kiB/s
[INFO] Booting From 0x80000000 
[INFO] Wait For 0.1 second for ISP to Boot 
[INFO] Boot to Flashmode Successfully 
[INFO] Selected Baudrate:  1500000 
[INFO] Baudrate changed, greeting with ISP again ...  
[INFO] Boot to Flashmode Successfully 
[INFO] Selected Flash:  On-Board 
[INFO] Initialization flash Successfully 

Programming BIN: |==============================================================================================================================================================================================================================-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| 50.0% 52kiB/s

Programming BIN: |=============================================================================================================================================================================================================================================================================================================================================================================================================================================================| 100.0% 54kiB/s
[INFO] Rebooting... 

There is nothing visible occurring after the last line is posted in the Output pane.

There should be some documentation somewhere but somehow owing to my inexperience I don't know where to find it. Please help me. I would like to test the Sipeed Maixduino board with beginner's examples.

Kind regards.

feldim2425 commented 5 years ago

Try chaning the Baudrate to: 115200

baqwas commented 5 years ago

@feldim2425 Thx for the suggestion. Been there, done that before posting my issue. I have suspended the Arduino effort and will try the MicroPython approach given that @loboris is guiding me. Kind regards.

bitsk commented 5 years ago

hi @baqwas ,

I replied to your this issus at https://github.com/sipeed/Maixduino/issues/36#issuecomment-516265109. If you want to use blink, please use serial tx pin led at pin 1 ,it is the only LED that can be lit onboard.