islandmagic / bb-link

B.B. Link, the BLE to Bluetooth Classic adapter for Kenwood TH-D74 / TH-D75 Radios
GNU General Public License v3.0
33 stars 2 forks source link

can't get the TinyPICO to work #19

Closed wptracy closed 5 months ago

wptracy commented 5 months ago

I have Arduino EDI 2.3.2 installed on the PC.

The sketch that is created is sketch_apr29a, but I don't know how it got that name.

I've got a paperclip connected to pin 4, but touching it long or short touch doesn't do anything.

I don't have a battery connected, but I do have the USB-C cable connecting the TinyPICO to the PC.

I figured that should power the board like the battery would.

I've got the following libraries installed but can't get the TinyPICO to work. The amber light near the reset button and antenna, never comes on. The blue light near the USB-C connector is bright and steady. The amber light near the USB-C connector is dim and flashing (fast).

Here are the installed libraries: esp32 by Espressif Systems 2.0.15 TinyPICO Helper Library by UnexpectedMaker 1.4.0 FreeRTOS by Richard Barry info@freertos.org 11.1.0.0 ArduinoQueue by Einar Amason by einsiarna@gmail.com 1.2.5 ArduinoLog by Thijs Elenbaas 1.1.1

I've compiled and uploaded to the TinyPICO and here is the log Output:

Sketch uses 257017 bytes (19%) of program storage space. Maximum is 1310720 bytes.
Global variables use 21168 bytes (6%) of dynamic memory, leaving 306512 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port COM3
Connecting....
Chip is ESP32-PICO-D4 (revision v1.1)
Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 64:b7:08:90:a3:14
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Erasing flash (this may take a while)...
Chip erase completed successfully in 1.7s
Compressed 18992 bytes to 13110...
Writing at 0x00001000... (100 %)
Wrote 18992 bytes (13110 compressed) at 0x00001000 in 0.3 seconds (effective 483.5 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 146...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (146 compressed) at 0x00008000 in 0.0 seconds (effective 837.9 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 1185.7 kbit/s)...
Hash of data verified.
Compressed 257376 bytes to 139364...
Writing at 0x00010000... (11 %)
Writing at 0x0001ddb1... (22 %)
Writing at 0x00024e5b... (33 %)
Writing at 0x0002a0d4... (44 %)
Writing at 0x0002f754... (55 %)
Writing at 0x000384cf... (66 %)
Writing at 0x000410ec... (77 %)
Writing at 0x000466ff... (88 %)
Writing at 0x0004bf37... (100 %)
Wrote 257376 bytes (139364 compressed) at 0x00010000 in 2.3 seconds (effective 905.9 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
wptracy commented 5 months ago

Never mind. I figured it out. Download bb-link-master.zip. uncompress it Change directory to src/bb-link Double click on bb-link.ino to install it.

wptracy commented 5 months ago

I figured it out. see my comment above