Post by David RoweThe link seems to refer to flashing via STLINK - the 3 pin debug connector.
I have used STLINK to flash SM1000s many times during development -
using just the 3 pins on CN1. This include 405 and 407 devices. I used
a Discovery Board as the emulator "pod".
Interesting, wonder what I'm doing wrong then. I'm using an actual
STLink/V2 programmer device, which seems to work fine for actually
debugging the SM1000, just not programming it.
Post by David RoweI'm not familiar with the nJRST pin on the uC, can you pls describe
exactly what connection you would like to see (i.e. pin numbers, where
the net would be routed to)?
My apologies, it's called nJTRST; pin 90. It otherwise is known as PB4.
Post by David RoweWe have provision for a reset button SW5 (nRST pin 14 on the uC) on the
SM1000 which I found handy during development when I was flashing via
STLINK.
Ahh, wondered what that button did. Didn't seem to do anything though.
Post by David RoweI have found DFU mode comes up immediately every time, by holding PTT
down as the SM1000 is switched on. I just tried again on a new SM1000
and 5/5 times on first press. Perhaps you have a hardware fault?
Cables? Contact me off list if you think its the SM1000 hardware.
Interesting, not sure what's going on then.
The set-up here:
- SM1000 has case open
- STLink/V2 plugged into CN1
- my laptop (late 2008 Apple MacBook) plugged into "RIG SPKR"
- an old pair of headphones (70's era paper cone ones) plugged into EXT SPKR
- Power from 100Ah 12V AGM battery
Some theories I'm thinking of:
- Switch bounce? Maybe I'm not doing it right and there's just a little
contact bounce as I'm holding it.
- RFI? Here at The Gap, I'm practically in the shadow of Mt. Coot-tha,
where there exists many high-power VHF and UHF transmitters for the
local television and radio stations.
Anyway, currently I've been attempting to get the speech prompts
working. I note that the SM1000 here fails to pass through analogue or
decode FreeDV 1600 since around revision 2482 (according to `git
bisect`) and I'm just trying to figure out why.
--
Stuart Longland (aka Redhatter, VK4MSL)
I haven't lost my mind...
...it's backed up on a tape somewhere.