I have 2 questions.
1) I have 1 wire uart programming connected in the following setup. A ftdi cable (TTL-232R-3V3 cable) with rx and tx connected with a 1k resistor, with that connected to p05. The ground of the uart cable is connected to ground of the board. The board is powered by batteries, 3V. When I go to program it in the smart toolbox, it always just responds
Error while waiting to receive STX from FTDI device.
any thoughts on why that might be?
2) I disabled the swdio/swclk pins using the SetBits16(SYS_CTRL_REG, DEBUGGER_ENABLE, 0); command. Obviously now when the code is running I can no longer program it over jtag, but I don't know why I can't still program it when the Keil J-LINK settings -> Connect & Reset Options is set to connect under reset and reset is any configuration. Is there any way to still program over jtag after the debugger has been disabled in the user code? I've tried all the connect & reset options and eventhough it does reset the board, the device is never found by the Keil interface.