You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, it doesn't respond in the bootloader mode:
>>>cp2110_serial.setDTR(0) # it looks that my bootloader pin is inverted+DATM>>>time.sleep(1)
>>>cp2110_serial.setRTS(0) # go to sleep. reset pin also inverted??>>>cp2110_serial.setRTS(1) # wake up>>>time.sleep(1)
>>>cp2110_serial.setDTR(1)
>>>cp2110_serial.write([0x55, 0x55]) # no response
What is interesting is that after I reset, it sends an ACK byte and then loads from flash
Are you sure DTR and RTS pins are connected to the correct bootloader and reset pins on the cc2640R2F?
It looks like the bootloader is not being started. But the ack byte after the reset is interesting. Are you sure the bootloader is enabled and uses the correct pins in the firmware that's running on the cc2640R2F?
Yeah, here CC264 Dongle v02 Schematics.pdf. I am pretty sure that the pins are correct. According to the PDF, the reset pin is connected to GPIO.8 and the bootloader pin to GPIO.9. This corresponds to flicking a bit number 13 and 12 respectively.
And according to this page 33, GPIO8 corresponds to the bit number 12 and GPIO9 to 13. Flicking the reset pin I observe that the factory program stops and resets. Flicking the bootloader pin, the factory program goes into some special regime (prints +DATM).
Are you sure the bootloader is enabled and uses the correct pins in the firmware that's running on the cc2640R2F?
I am not sure. Maybe they forgot to enable it at the factory? Is there a way to test this?
I am trying to flash a device with cc2640R2F chip. This chip is connected to HID-to-UART interface CP2110.
I was able to establish a UART connection through HID using code based on this. Here is a proxy serial interface I give instead of
self.sp
.The example program loaded into CC2640 responds successfully:
Unfortunately, it doesn't respond in the bootloader mode:
What is interesting is that after I reset, it sends an ACK byte and then loads from flash
Any clues what is happening here? I appreciate any pointer.
The text was updated successfully, but these errors were encountered: