You are here

PSoC3 I2C Bootloader failing to program component. | Cypress Semiconductor

PSoC3 I2C Bootloader failing to program component.

Summary: 1 Reply, Latest post by Bob Marlowe on 27 Oct 2015 04:02 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
laruatta's picture
13 posts

I'm working on setting up a very simple I2C bootloader for a CY8C3846-AXE176.  I've attached the archive for the bootloader itself.  The bootloadable project is proprietary, but I've added a bootloadable component to it, and have successfully linked it the bootloader HEX file.

There are some examples of bootloaders, bootloadables, and bootloader hosts that I've looked through, and I can't see any difference between those and what I've set up.  However, I have gotten nothing out of the Bootloader Host other than

"Communication port reported error 'Unable to write data to the target device'."  

I've tried bootloading immediately after a power cycle, externally powering the system, all I2C speeds, calling CySoftwareReset manually, starting the I2C component before the reset, and have gotten the same result every time.

I have a few things left to try.

1.)  Looks like the Bootloader_Start function handles the software reset as well as the bootloader entry, so I don't believe that's a problem.

2.)  The PSoC's I2C pins are on an I2C bus with pullups on this system due to a hardware oopsie in the programming header, hence this roundabout bootloader approach.  I know the MiniProg3 has pullup resistors inside, so tomorrow my first action will be to remove those two pullup resistors  so only one set of pullups is affecting it.  Can I turn off the MiniProg's internal pullups?

I'm willing to answer any questions, and possibly doctor up the bootloadable application to make it uploadable.  Thanks in advance for any help.

user_1377889's picture
9256 posts

First try would be to have your Bootloader I2C configured as master, not as slave.

Best for us (and for you) would be to put the Bootloader and the Bootloadable project (a simple demo/Test) would be ok) into the same workspace.



Log in to post new comments.