Other Parts Discussed in Thread: TM4C1294NCPDT, EK-TM4C1294XL, LMFLASHPROGRAMMER
Hi all,
Let me describe my situation:
I have TM4C1294NCPDT chip on my board. By default fresh device from factory after power up will run bootloader.
It will do that because it detects that flash memory is not programed etc (details in datasheet on page 669 - Boot configuration).
At this stage it is possible to flash device using LM Flash Programmer via Serial UART. I am using build 1613 of this util.
To connect to device I am using FT232R chip witch latest Windows 7 drivers for it, it is visible as virtual COM7 on my system.
I programmer fresh device using UART0 and LM Flash Programmer and there were no problems with it. Also I setup BOOTCFG
register to be able run bootloader during power up by applying low level (GND) on PF2 which I have pulled up to 3V3 via 10k resistor.
Now the fun part begins. After I power up board normally it runs my code, blink diodes and communicate via UART0 (so FTDI chip is working)
with Putty or any other serial console. After I reset board (both power reset or reset button) with applied low level on PF2 it freezes. So i assume
that bootloadder is called according to plan. When I release the button and reset board it works normally so it makes sense.
The problem is when I want to flash board again using LM Flash Programmer and Serial UART option (like I do with fresh device).
I am getting "Establishing communication with target..." message and next error popup:
"Failed to establish communication with the board...
The program using the serial port (UART), the board must be
programmed with the serial flash loader or a properly configured bootloader"
So now my question - What is wrong? I tried to do that with Auto Baud Support enabled and disabled. Result is the same.
I thought that I be able to flash the board because it has bootloader in internal ROM which will listen on UART0.
Or maybe this is problem with FTDI chip (it is strange because it works perfect with normal running board). I tried all of that on
EK-TM4C1294XL and it was working fine. What I am missing? Or this is problem with LM Flash Programmer tool? I tried with build 1606
and situation was the same.