Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Hermes II firmware download...: msg#00020

Subject: Hermes II firmware download...
Hi all:

I'm an electrical engineer in telecommunications from Spain. I'm working in
developing some drivers in order to run a pcmcia Artem card with chip Hermes
II in an embedded system. I'm having a lot of problems with the firmware
download, and would be very thankful if you could help me someway. I will
explain what I'm trying to do:

- The pcmcia card is controlled by a Microchip PIC 18F452. I have almost
every low-level routine, only have to finish the firmware download. For
downloading the firmware, I'm using a computer with serial port that
communicates with the PIC.

- I've taken the firmware to download from Artem's web page, a file called
fw_h25.c (tertiary firmware STATION). From this file, I've taken the four
blocks with real data (or, at least, that's what I think) and put them in a
text file in my computer. The file includes other types of structures which
I've assumed to be info for the operating system (linux). 

- Once I have the data from the firmware in a file, software to send it from
my computer through serial port and routines in the PIC to handle the
received data, I start the download process. For this:

        1. Power up the card.
        2. Enable the pcmcia I/O to allow Hermes register read / write and
send an INIT command (0x0000) to the HERMES CMD register. The hermes
response is OK.
        3. Once the card is initialized, I check for the AUX register to be
available via CONTROL register. It's OK.
        4. Then, I start the download (in HEX format, not ASCII): I take the
segment addresses from  fw_h25.c, put the page and the offset in the
adequate AUX registers (for each segment), and then send data via
serial port. Aparently, the download finishes correctly. 
        5. Last, I send an EXECUTE command (0x0004) to the Hermes command
register. Hermes status after sending command is unknown. I mean, it
should be '7F04' if error and '0004' if successful. I don't get any of
these values.

        After this, it's impossible for me to send successfully any command
that should work with tertiary STA firmware running. 

        I?m lost, perhaps I?m asking you too much, I don?t know. If you
could help me or telling me about someone who could, I?ll be very thankful?
Thanks for all anyway. Please, if you know what I'm doing wrong or something
helpful, don't doubt in sending me an email to this address. 


Sincerely,

Miguel Expósito Martín




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/


<Prev in Thread] Current Thread [Next in Thread>