I am working on a project which involves using an Arduino alongside several PSOC-049-42xxx chips.
I want to be able to update the firmware on the PSOCs just by updating the hex file on the Arduino and having it push a new hex file to each PSOC.
I've been reading through this but It hasn't really helped me much. Perhaps someone here could give me some pointers? http://www.cypress.com/file/137036/download
DropBox Link to arduino project << So far I have the API functions provided by Cypress and my understanding is that I need to produce the communication layer functions?
I seem to get a LOT of errors with these API functions however, and I really am not too sure how to port them. Help would be GREATLY appreciated.
As it stands I've got a bootloader project prepared for the PSOC, with I2C enabled and a method for allowing the device to get its own address by reading three bits from external pins. I've got an active I2C bus which I know is working as I've been using it to ping bytes back and forth for other projects. Where I'm stuck is implementing a bootloader host within the Arduino which will parse a hex or cyacd file which is uploaded to the Arduino at programming time, and pass it to each PSOC in turn over I2C.
I'm currently trying to massage these API functions to just stop getting them to throw a tonne of errors before I can even think about how to handle the communications