We are attempting to program an external Spansion CFI NOR flash memory , S29GL032N90TFI033, connected to a STM32F407IE Cortex-M4 ARM processor using the JLINK JTAG programmer running version 4.84c of the JLINK command line tool. We have created a script for initializing the port pins on the micro to enable +3V to the CFI flash memory however this does not appear to work.
We attempt to write to the peripheral clock register at address 0x40023830 with a value of 0x0000007A and the jlink command line tool writes zeros instead. Why is this occurring? Is this a DLL issue? I have attached a couple images showing the error occurring from the "command line" within JLINK.EXE and a script file renamed as "test.txt" which also exhibits the same issue when writing to the same register. The write operation appears to work on all other registers in the script. However, the writes are not very interesting since the peripherals clocks cannot be enabled!
Thanks to all who may have any insight into this!
Kurt
We attempt to write to the peripheral clock register at address 0x40023830 with a value of 0x0000007A and the jlink command line tool writes zeros instead. Why is this occurring? Is this a DLL issue? I have attached a couple images showing the error occurring from the "command line" within JLINK.EXE and a script file renamed as "test.txt" which also exhibits the same issue when writing to the same register. The write operation appears to work on all other registers in the script. However, the writes are not very interesting since the peripherals clocks cannot be enabled!
Thanks to all who may have any insight into this!
Kurt