This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

POM(Parameter Overlay Module) Introduction or demo

Other Parts Discussed in Thread: HALCOGEN

I am using RM48HDK, but I can find few Introduction about  the POM, and can't find any demo code about POM.

would somebody provides me some document and demos ?

  • The operation of POM is described in detail in the RM48 TRM. We used to have a test where a data table is defined in the Flash and another table in RAM with different values. This RAM table is configured to be overlay with Flash table. When the POM is disabled, CPU reads back the flash table. When the POM is enabled, CPU reads the same table but returns the value from the RAM. I will share the test once I find it.

    Thanks and regards,

    Zhaohong
  • ok! Thanks a lot!

    Thanks & Best regards
  • I am attaching a simple example here to illustrate how POM works.

    From Halcogen, I generated POM function to overlay Flash 0x10000 with RAM 0x08000000. The size is 1KB. The test works as follows.

    (1) set a breakpoint at POM_Enable() and run to the breakpoint.

    (2) Open a memory window to view the content at 0x10000. It should be all 0xffffffff because this flash location is erased.

    (3) View memory at 0x08000000. You should see all 0x0 because of the RAM initialization during start up. You can manually type some value into this location.

    (4) set a breakpoint after POM_Enable() and run to the breakpoint. Open the memory window at 0x10000. You should see the same content as at 0x08000000 because overlay is enabled.

    6470.RM48POM.zip

    Thanks and regards,

    Zhaohong

  • Ok ! Thanks a lot!
    I really have another question about the POM! The question is that if I have a space in RAM to store my parameter and why do I have to store it in the POM, since the value of parameter will lost after system reset like RAM ?
    When do I have to use this POM feature?

    Thanks and Best regards!
  • One use of POM is to enable you to overlay a RAM table to a Flash table. In this way you can ran test with new parameters in the RAM table without changing the code in Flash. This may make your system calibration a little easier.

    Thanks and regards,

    Zhaohong