RE: Re: stored in TINIm400 flash?
zhbnzz <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Kris:
(1) In com.dalsemi.slush.java,I make Changes:
import MyPackage.MyApp;
¡
public static void main(String[] args)
{
new Slush();
new MyApp();
}
(2) build them to slush_400.tbin:
javac -O -target 1.1 -bootclasspath C:\tini1.12\bin\tiniclasses.jar;C:\tini1.12\bin\modules.jar -classpath C:\tini1.12\bin\modules.jar;%classpath% -d classes @allJavaFiles
java -classpath C:\tini1.12\bin\tini.jar;%classpath% BuildDependency -f classes -d C:\tini1.12\bin\tini.db -o slush_400.tbin -l -p C:\tini1.12\bin\modules.jar -add FTPCLIENT;MAILTO -fake -noreflect -ref com.dalsemi.slush.util.FakeMainMaker -ref com.dalsemi.slush.command.SlushCommand -ref com.dalsemi.protocol.mailto.Handler -t 470100
Build successful
BuildDependency clean-up complete.
OK! I get slush_400.tbin. slush_400.tbin size is 172032 tytes.
(@allJavaFiles includes package com.dalsemi.slush.*.java and MyPackage.MyApp.*.java)
(3)When Loading slush_400.tbin with JavaKit, see output:
Welcome to the TINI DS80C400 Auto Boot Loader 1.0.1
>B0
>F0
>
Loading file: D:\sqhj\slush\slush_400.tbin.
Please wait... (ESC to abort.)
Loading at bank number 48
ERROR! Aborting load.
ERROR Loading file: D:\sqhj\slush\slush_400.tbin
Why?
zhbnzz
mailto: [email protected] <mailto:[email protected]>
----- Original Message -----
From:"Kris Ardis" <Kristopher.Ardis-6tN4nzCoH/[email protected]>
To:"zhbnzz" <[email protected]>, <[email protected]>
Subject:Re: [TINI]stored in TINIm400 flash?
Date:Tue, 23 Mar 2004 04:46:50 +0800
>> I want my application code to be stored in TINIm400 flash
>> and run every time slush runs, but my application
>> code size is 172032 tytes and I wish keep the all functions
>> of slush commands. how can I do?
>
>You could make your application part of slush, and make sure to start it up
>when slush comes up. There is plenty of flash space on the TINIm400.
>
>Kris
>
>
>----- Original Message -----
>From: "zhbnzz" <[email protected]>
>To: <tini-6tN4nzCoH/[email protected]>
>Sent: Monday, March 22, 2004 1:35 AM
>Subject: [TINI]stored in TINIm400 flash?
>
>
>> This message uses a character set that is not supported by the Internet
>> Service. To view the original message content, open the attached
>> message. If the text doesn't display correctly, save the attachment to
>> disk, and then open it using a viewer that can display the original
>> character set. <<message.txt>>
>>
>
>
>
>
______________________________________
×¢²áÐÂÀË9Õ×Ãâ·ÑÓÊÏ䣨 http://mail.sina.com.cn/chooseMode.html £©
===================================================================
»ÝÆÕ´ó½±Á¬»·ËÍ£¬¸ßЧ°ì¹«ÀÖȤ¶à! (http://ad4.sina.com.cn/shc/zhuiyu_hprefresh1.html)
_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini