Page 1 of 1

write code in non-volatile memory of MCP2221

PostPosted: Sat Oct 13, 2018 12:27 pm
by navidbox
I need help on how to write a very small program to turn the GPI 0 of MCP2221 ON in power up by default.

MCP2221 has two memories. #1SRAM, #2Flash (Non-volatile)

In order to have the power-up default, the program needs to be in the flash and I do not know how to do it.

I prefer to write that program in C#.

Re: write code in non-volatile memory of MCP2221

PostPosted: Fri Oct 19, 2018 2:02 pm
by ober
I believe you need to ask from Microchip. MCP2221 is USB to I2C converter, appears as COM or HID class. Programming it should be through the USB class and profile. Have you gone through the datasheet and development tools? And also try to post in Microchip forum :)