Post Reply 
Help needed with the Arduino HP-IL mass storage and 41c
04-19-2023, 09:55 AM
Post: #1
Help needed with the Arduino HP-IL mass storage and 41c
Hi everyone,

I just finished building Tobie's Arduino HP-IL device, but I'm having some trouble with the mass storage part. The printer part seems to work fine.

I have a 512MB sd card, on which I create a LIF file using lifutils command:
lifinit -m cass LIF1.DAT 64

I take the card from the PC, and put it in the Arduino device, and it seems to start up ok.
SD Card init ok
PIL Box is alive <-- my debug line,
Drive:1
Numbers of LIF files: 1
Current LIF file: LIF1.DAT
Drive:2
Numbers of LIF files: 1
Current LIF file: LIF1.DAT
Init PIL ok
Free SRAM: 3770

I am using a halfnut 41cx with 2 xmemory modules installed.
I try the FINDID with HDRIVE1 in alpha register, and nothing much seems to happen.
I try the WRTP a small program with the program name in the alpha register, but nothing seems to happen.
Looking at the LIF file on the PC again, using lifdir, I get:
Volume : , formatted : 19/04/23 18:00:00
Tracks: 2 Surfaces: 1 Blocks/Track: 256 Total size: 512 Blocks, 131072 Bytes
0 files (64 max), last block used: 0 of 512
So, nothing, no file written.

Can anyone suggest what I might be doing wrong ? Any help appreciated.

Thanks
John
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Help needed with the Arduino HP-IL mass storage and 41c - Johnboy - 04-19-2023 09:55 AM



User(s) browsing this thread: 1 Guest(s)