arduino-bouffalo icon indicating copy to clipboard operation
arduino-bouffalo copied to clipboard

Ai-M61-32s dev kit issues

Open ITstreet1 opened this issue 9 months ago • 8 comments

Hi,

Thank you for your support for Bouffalo MCUs in Arduino IDE

I got this dev kit from AiThinker. I get the Done Uploading message when uploading any sketch, but the board isn't doing anything.

I have the latest version of your package. The PC sees the board. But not a simple Blink blinks the LED. This is the serial output:

Sketch uses 201304 bytes (4%) of program storage space. Maximum is 4190208 bytes. Global variables use 18464 bytes (9%) of dynamic memory, leaving 178144 bytes for local variables. Maximum is 196608 bytes. [10:06:05.120] - Serial port is COM5 [10:06:05.120] - ================================================== ConfigParser Error: [Errno 13] Permission denied: 'C:\Program Files (x86)\Arduino\config.ini' [10:06:05.121] - Program Start [10:06:05.121] - ========= eflash loader cmd arguments ========= [10:06:05.123] - serial port is COM5 [10:06:05.123] - chiptype: bl616 [10:06:05.123] - cpu_reset=False [10:06:05.137] - com speed: 2000000 [10:06:05.137] - ========= Interface is uart ========= [10:06:05.137] - Bootrom load [10:06:05.137] - ========= get_boot_info ========= [10:06:05.137] - ========= image get bootinfo ========= [10:06:05.415] - tx rx and power off, press the machine! [10:06:05.415] - cutoff time is 0.05 [10:06:05.479] - power on tx and rx [10:06:06.469] - reset cnt: 0, reset hold: 0.05, shake hand delay: 0.1 [10:06:06.469] - clean buf [10:06:06.470] - send sync [10:06:06.699] - ack is b'4f4b' [10:06:06.700] - shake hand success [10:06:07.212] - data read is b'010016060000010027128901db002bcf0eb499000f758010' [10:06:07.212] - ========= ChipID: b40ecf2b00db ========= [10:06:07.212] - Get bootinfo time cost(ms): 2074.920654296875 [10:06:07.212] - change bdrate: 2000000 [10:06:07.212] - Clock PLL set [10:06:07.214] - Set clock time cost(ms): 2.004638671875 [10:06:07.347] - Read mac addr [10:06:07.349] - MACADDR: b40ecf2b00db [10:06:07.350] - flash set para [10:06:07.350] - get flash pin cfg from bootinfo: 0x24 [10:06:07.350] - set flash cfg: 1014124 [10:06:07.350] - Set flash config [10:06:07.353] - Set para time cost(ms): 2.970947265625 [10:06:07.353] - ========= flash read jedec ID ========= [10:06:07.356] - Read flash jedec ID [10:06:07.356] - readdata: [10:06:07.356] - b'5e401700' [10:06:07.356] - Finished [10:06:07.358] - flash config Not found,use default [10:06:07.358] - jedec_id:5e4017 [10:06:07.358] - capacity_id:23 [10:06:07.358] - capacity:8.0M [10:06:07.358] - get flash size: 0x00800000 [10:06:07.358] - Program operation [10:06:07.359] - Warning: No input file to program to flash [10:06:07.359] - All time cost(ms): 2238.60205078125 [10:06:07.473] - close interface [10:06:07.473] - [All Success]


int led = 29; //cold LED is on IO29, tried RGB also
void setup() {
  pinMode(led, OUTPUT);
}
void loop() {
  digitalWrite(led, HIGH);
  delay(1000);
  digitalWrite(led, LOW);
  delay(1000);
}

Any help would be appreciated.

Regards

ITstreet1 avatar Sep 20 '23 08:09 ITstreet1