# from reset the pic32 cannot execute code in ram - enable ram execution
# minimum offset from start of ram is 2k
#
-
global _PIC32MX_DATASIZE
global _WORKAREASIZE
- # BMXCON
- mww 0xbf882000 0x001f0040
+ # BMXCON set 0 wait state option by clearing BMXWSDRM bit, bit 6
+ mww 0xbf882000 0x001f0000
# BMXDKPBA: 2k kernel data @ 0xa0000000
mww 0xbf882010 $_PIC32MX_DATASIZE
# BMXDUDBA: 14k kernel program @ 0xa0000800 - (BMXDUDBA - BMXDKPBA)