Other Parts Discussed in Thread: UNIFLASH
I am writing a custom serial bootloader for the Concerto M36 that will different GPIO port pins than those supported by the bootROM. Eventually this code will be programmed into the OTP, but I am currently developing it using the boot to RAM mode.
I am having some difficulty with replacing the existing PickInterface() function since it does autobaud detection. Since I am using Port Q pins 2 and 3 for UART0, I cannot just call back into the PickInterface() function. This function also uses interrupts for GPIOA, and I have no way to remap it.
What I am trying to do is to skip doing the autobaud detection altogether. I am using uniflash to perform the flash programming, which is sending autobaud characters, and I don't know if I should just throw them away or what. Also, the UART baud rate doesn't seem to be correct; I am receiving garbage characters (0xFE, 0xFF, etc). I set the baud rate to 38400 based upon a 75MHz core clock, but I don't know if the core clock is initialized in the bootROM code...
In a previous thread Santosh stated that example code to do what I am attempting was being developed. Has anything been done? Is it available?
Nelson