[DSP-10] Comments on loading DSPx with DSP 10
Bob Larkin
boblark at proaxis.com
Wed Dec 14 16:53:00 EST 2005
Hi Bob -
I am unsure as to the loading of the UHF3XH.HEX into Bank 1. Let me back
up to your 13 Dec e-mail, and intersperse some questions:
At 03:40 AM 12/13/2005, you wrote:
>Hi
>Just a note about loading DSPx/KDSP10 with DSP 10 software.(No DSP10
>electronics)
....1 and 2 snipped
>3. If I run the auto load FL1 then it loads FLASHUTL OK ( verified with
>TerraTerm) but the XFLASH Loader fails with a Timeout error - no
>communication with FLASHUTL. and then exits to DOS. Maybe this is pont Bob
>makes on the DSPx site?
When I look at your trace file I see the following, within the hyphen lines
---------------------------------------
------ XFLASH1 Ver 0.5 New Run ------
Date ymd: 2005 12 7 Time: 0906 16 sec
Command line: argc=5, |C:\BC4\XFLASH\XFLASH1.EXE 2 1 uhf3xh.hex 1 |
Following is a transcript of PC screen:
***** XFLASH1 Loader for DSPx Flash memory. Ver 0.5 *****
J: Jmp: 03 OK meaning JP1 open JP2 open
S010000: Addr Hi: 01 Addr Lo: 0000 OK
S011000: Addr Hi: 01 Addr Lo: 1000 OK
S012000: Addr Hi: 01 Addr Lo: 2000 OK
S013000: Addr Hi: 01 Addr Lo: 3000 OK
S014000: Addr Hi: 01 Addr Lo: 4000 OK
S015000: Addr Hi: 01 Addr Lo: 5000 OK
S016000: Addr Hi: 01 Addr Lo: 6000 OK
S017000: Addr Hi: 01 Addr Lo: 7000 OK
S018000: Addr Hi: 01 Addr Lo: 8000 OK
S019000: Addr Hi: 01 Addr Lo: 9000 OK
S01A000: Addr Hi: 01 Addr Lo: A000 OK
S01B000: Addr Hi: 01 Addr Lo: B000 OK
S01C000: Addr Hi: 01 Addr Lo: C000 OK
S01D000: Addr Hi: 01 Addr Lo: D000 OK
S01E000: Addr Hi: 01 Addr Lo: E000 OK
S01F000: Addr Hi: 01 Addr Lo: F000 OK
B1: Flash Bank (0-7): 1 OK
p: program to Flash OK
Z: Status: 00 OK
Z: Status: 00 OK
Loading hex
file:
..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
.....
.
..................................................................................................................................................................................................................................
Successful load to DSPx of 39074 bytes from 1222 lines
Exiting XFLASH1
Time: 0908 06 sec
---------------------------------------
This looks like a perfect run of FL1.BAT. You have the UHF3XH.HEX loaded to
bank 1, and if you put JP1 in place, it should come up running if you hit
the reset button (or do a power down/up). The '2' in the command line says
that you were loading through COM2.
Then later in the trace file, there was another entry (several actually):
-----------------------------------------
------ XF_TERM1 Ver 0.2 ------
***** XFTERM1 Serial Monitor Checker Ver 0.2 *****
Be sure DSPx JP1 is open; Hit DSPx RESET to run Bank 0 Monitor.
This will time out in 30 seconds.
TIMEOUT ERROR: No communications from DSPx ERROR - Banner not found.
Bank 0 Monitor load apparently NOT successful.
Exiting XF_TERM1
-------------------------------------------
The two things that I can think of here are that the COM port was not 2?
Or, that reset was not hit within 30 seconds?
In any event, you don't need to run XF_TERM1, anyway.
Then later in the trace file were several of these:
---------------------------------------------
------ XFLASH1 Ver 0.5 New Run ------
Date ymd: 2005 12 12 Time: 2117 08 sec
Command line: argc=5, |C:\WORK\DSPXLO~1\XFLASH1.EXE 1 1 uhf3xh.hex 1 |
Following is a transcript of PC screen:
***** XFLASH1 Loader for DSPx Flash memory. Ver 0.5 *****
TIMEOUT ERROR- I: No communications from FLASHUTL
Exiting XFLASH1, Flashutl error.
Time: 2117 12 sec
-------------------------------------------------
The '1' right after 'XFLASH1.EXE ' says that this was being sent via COM1,
not 2, like the previous successful load.
If indeed, the COM port was changed, then be sure that you did a reset
(with JP1 out) of the DSP to remove FLASHUTL and go back to the Bank 0 monitor.
>4. If I 'manually' load UHF3XH.HEX by loading FLASHUTL and then manually
>erase the 16 by 4k sectors and then use Terraterm to load UHF3X.HEX then
>re insert JP1 and reset DSPx then indeed the HEX file is loaded in bank 1
>and talks to UHFA OK..
>
>So maybe I have some mixed versions of the various software.
>Sorry if this has been discussed on this reflector before.
>
>Otherwise all OK
>
>73 and Happy Christmas
>
>Bob G3PJT
>Novice DSP programmer
To those folks not yet using the DSPx, it looks complicated, I know. But
the end goal is to have a simple procedure to do the loading without risk
of removing the wrong part of Flash! I think the latter is under control,
but the jury is out on the "simple" part!! As long as errors are
non-destructive, it is all part of the spirit of experimentation. The end
result is well worth a bit of learning. The Flash memory will give lots of
flexibility to the DSP programming and add to the capability.
Bob, Let us know how this goes and where the confusion in port numbers was
at. Thanks.
73, Bob W7PUA
More information about the DSP-10
mailing list