ninscope / Firmware

NINscope DAQ firmware for the EZ-USB FX3 SS USB controller
MIT License
4 stars 1 forks source link

changing the img file #2

Open haofanglee opened 3 years ago

haofanglee commented 3 years ago

Hi there. I’m trying to change the LM3643YFFR to LM3643AYFFR (I got the wrong chip) and I have to change iIC address from 0x63 to 0x67. Do you know where I can make changes of iLC address in the img? Thank you!

andresdegroot commented 3 years ago

Hi @haofanglee ,

The firmware needs to be re-compiled with the new IIC address. The image file is a binary file with machine code and is not easily changed. You need to install the Cypress SDK, import the project (with source code) ,change the address and compile it. See https://github.com/ninscope/Firmware/blob/master/NINscope/sensor.h. Line 53 and 54. Are you planning to do more changes in the firmware ? If not maybe I can do it for you.

haofanglee commented 3 years ago

Hi Andres! Thank you very much for the instructions. I’ve tried to compile it myself as directed but the compilation stuck at this part “Contact for program upload” which I don’t fully understand. It appears that the source code in repository cannot be compiled somehow on our end.

Yes the ilc address seems the only part I’d like to change, could you help me with it? Thank you very much! Much appreciated ~

andresdegroot commented 3 years ago

Hi @haofanglee ,

I have sent you a DM about the program upload and compiled you an image file with the address change.