How do I port code writtenfor DS80C390 to the DS80C400?
The DS80C400 is based on the architecture of the DS80C390. The TINI runtime environment supports both microcontrollers. The most significant differences between the two devices are that the DS80C400 includes the Ethernet MAC and a Maxim 1-Wire interface, and has only one CAN module. Unless you are using both CAN controllers in the 390, there should not be any porting issues. The code base is entirely compatible.