I've bootloaded some code to reprogram the ST10 Flash, but when the code attempts to access the Flash registers an exception occurrs. I've enabled XFLASh in XPERCON and XBUS in SYSCON and have declared a flash register as *( unsigned int huge *)(0x000E0000).
_huge unsigned int* FCR0H_reg; FCR0H_reg = (_huge unsigned int*)(0x000E0002); *FCR0H_reg=0x2000; //word program Are you doing in this way? If so and you have enabled XFLASH, XBUS and ROMEN=1, it should be working. Remember that if you want to write B0F0, B0F1, B0F2, B0F3 in bootstrap mode you have to address them through 0x01xxxx addresses.