ENCMP3 Driver not loading

Discussion about writing software for VS1005 and the VSOS Operating System. Also posts about VS1005-related hardware design and device drivers should be posted here.
Post Reply
Felix
User
Posts: 1
Joined: Wed 2018-05-02 18:02

ENCMP3 Driver not loading

Post by Felix » Thu 2018-05-03 10:12

Hello,

When I am trying to load the "ENCMP3" driver, I get the following error:

Driver: ENCMP3... E: Symbol _EncMAlignBiQ5N (CRC32 36ae7fc4) not found.
1 fatal errors. Stop.

I am running VSOS 3.55. I hope someone can help me please!

Kind regards

heikkij
User
Posts: 1
Joined: Wed 2018-05-16 6:38

Re: ENCMP3 Driver not loading

Post by heikkij » Wed 2018-05-16 6:57

Hello,

I had this issue too, and I could only get it working by doing the following:

1. Find rom1005g.o in the kernel VSIDE solution you're running (e.g. blahblah\VSOSstuff\VSOS_355g_IntFlash\rom1005g.o)
2. Copy said file to the encmp3 VSIDE solution directory (e.g. blahblah\VSOSstuff\solutions\encmp3\rom1005g.o)
3. Open the encmp3 solution in VSIDE and go to Project -> Properties -> Linker
4. Append rom1005g.o to Additional options text box. Should read "-nokeepvisible -t {$PROJNAME} rom1005g.o"
5. Rebuild solution and test.

- Heikki

User avatar
Henrik
VLSI Staff
Posts: 1100
Joined: Tue 2010-06-22 14:10

Re: ENCMP3 Driver not loading

Post by Henrik » Thu 2018-05-17 8:34

Hello!

I can confirm your issue.

Heikkij gave you a solution, and you may use that to go around the issue for now, but unfortunately that solution will make the driver ROM-specific. I will try to get you a ROM-independent solution as quickly as possible.

Kind regards,
- Henrik
Good signatures never die. They just fade away.

User avatar
Henrik
VLSI Staff
Posts: 1100
Joined: Tue 2010-06-22 14:10

Re: ENCMP3 Driver not loading

Post by Henrik » Thu 2018-05-17 9:16

Hello!

I have found the reason and I have a recommended solution to your problem.

Open up the VSOS 3.55 solution, then open the file transient.c.

Find the following line:

Code: Select all

SymbolAdd("_encMAlignBitsToByte", (void *)1, (int)EncMAlignBitsToByte);
Change it to the following (lower case 'e' changes to upper case 'E'):

Code: Select all

SymbolAdd("_EncMAlignBitsToByte", (void *)1, (int)EncMAlignBitsToByte);
Then Build -> Build Solution and Project -> Prommer/Flasher Utility and you should be able to load encmp3.dl3.

Kind regards,
- Henrik
Good signatures never die. They just fade away.

Post Reply