joevpt wrote:2. I modified the bootloader v2.0 to reset the SPI2 pins before it did anything else. Unfortunately this did not help with the noise I was seeing on the display. I therefore abandoned this approach.
3. I then did a chip erase (using the ST Link) and uploaded the sketch directing the programmer to place it at 0x8000000 instead of the usual 0x8005000.
This did not work for me, so I wondered whether the boards.txt file needed to be modified to reflect the fact that there was no longer a bootloader present. The only address specific setting I could find was:
Given that nothing was now in 0x8000000, I reasoned that this should be 0x8000000. Again, I compiled the sketch and uploaded it using the ST Link using the base address of 0x8000000. I really expected that to work, through I hadn't changed anything to tell the compiler that I wanted my program to be located at 0x8000000 (because the Arduino IDE hides all that ugly stuff).
Users browsing this forum: No registered users and 2 guests