Re: ROM-functions

"ja44" <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <000201c3f4bf$61ad8b00$8f03a8c0@Uranowa>
Hi Rob

Thans, you helped me! Now, my program works in bank 4FH in both: the reset
and the 'X' startup case.

> I think that you should use memory bank 40H for the tin400.

I don't think so: there is TINI software in banks 40H ... 48H.

> See also the application note app613.pdf at the dallas site.

It was good shot. I found there info about "startup400.a51", where I noticed
that I made not full setup of  serial0. "rom_init" function could not print
its message and hung up!
It is, what JavaKit (or Serial Loader) does for running
ROM-functions - especially for "rom_init" function.

Best Regards
Bernard

> Hi Bernard,
>
> I think that you should use memory bank 40H for the tin400. See also the
> application note app613.pdf at the dallas site.
> I used the Keil compiler on that bank and it works with that bank in both
> the reset and the 'X' startup case.
> The example of the internet speaker may use a different memory layout in
the
> hardware design I believe.
>
> Regards,
>   Rob van der Ouderaa
>
>
>> Hi,
>>
>> TINIm400/s400 & tini 1.12.
>> I try to run program with "rom_init" ROM exported function.
>> It is short program with TINI header, assebled by "a390" and similar to
>> begin of "speaker.a51".
>> I load it to 4F bank by JavaKit & Serial Loader. I run program in 2 ways:
>> 1. I use G (or X) Serial Loader command.
>> or
>> 2. I put in J5 jumper and click JavaKit "Reset" to omit Serial Loader and
>> let find user code.
>>
>> In 1-st way program works properly.
>> In 2-nd way program hangs up inside of "rom_init" function.
>> But shorter program - without "rom_init" function - works properly in
1-st
>> and 2-nd way!!!
>> It means that Serial Loader does something special for running
>> ROM-functions.
>> Does everybody know what is this?
>>
>> Any help would be appreciated.
>> Bernard

_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.