Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 223033

Forum Post: TMS570LC4357: NMPU not working correctly with 128kB region

$
0
0
Part Number: TMS570LC4357 Hello experts, I am trying to find out how to configure the NMPU of the EMAC module (diagnostic ETH17 and ETH18 in the security manual). I have implemented the configuration and the test of the configuration. The test of the NMPU is done using the internal diagnostic mode. Everything works when I implement a region with a size of 64 kB. The trouble starts when I try to configure a 128 kB region. I have tried the following configuration: Region base address: 0x0802 0000 Region size: 128 kB The address 0x0802 0000 is a multiple of the region size, so the region should start at 0x0802 0000 and end at 0x0803 FFFF. If I were to test the configuration using the internal diagnostic mode, I would expect to see the following write to 0x0800 0000 should produce an error write to 0x0801 FFFF should produce an error write to 0x0804 0000 should produce an error What actually happens is that no error is generated. I have checked this several times and cannot find any reason why the same code would work for a 64k region but not for a 128k region. Could you check if the NMPU logic is not broken for regions larger than 64kB or if the internal diagnostic mode is broken. Thanks and best regards, Max

Viewing all articles
Browse latest Browse all 223033


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>