Has anyone worked with the microprocessor H8/3672 of Hitachi? If so, could you help me to code the routines for an in-application Flash programming process?. What I'm trying to do is a backup of several calibration values in a free segment of Flash memory while the program is running. The first step I take consist on copying to RAM the Flash-related functions. Then, when I call them, the program gets hunged at the point when I set the bit SWE of FLMCR1. Any idea?
I thank your help in advance!