

       
|

Softwares
Drivers
Applications
FORTH kernel
The
real time FORTH kernel using the TIMER1 and the UART1 is linked to the
internal fast oscillator frequency (FRC with a precision of
+/-2%) and the clock system configuration of each
processor type. So there are several versions of this kernel:
Binary file
|
Version
|
PIC
24F
|
PIC
24FJ
|
PIC
24HJ
|
PIC
24EP
|
dsPIC
30F
|
dsPIC
33FJ |
dsPIC
33EP
|
Computation power
|
pic24f.hex
| 1.22
| X
|
|
|
|
|
|
| 16 Mips, mode FRCPLL
(FOSC=1, DOZEN=RCDIV=0)
|
pic24f_seq.hex* |
1.00
|
pic24fj.hex
| 1.22
|
|
X
|
|
|
|
|
| 16 Mips, mode FRCPLL
(FOSC=1, RCDIV=CPDIV=0)
|
pic24fj_seq.hex* |
1.00 |
pic24hj.hex
|
1.22
|
|
|
X
|
|
|
X
|
| 29,48 Mips, mode FRCPLL
(FOSC=1, PLLPRE=0, PLLDIV=30, PLLPOST=0) |
pic24hj_seq.hex* |
1.00 |
pic24ep.hex
| 1.22
|
|
|
| X
|
|
|
X
| 58,96 Mips, mode FRCPLL
(FOSC=1, PLLPRE=0, PLLDIV=62, PLLPOST=0) |
pic24ep_seq.hex* |
1.00 |
dspic30f.hex
| 1.22
|
|
|
|
| X
|
|
| 14,74 Mips, mode FRCx8
(FOSC=3, FRP=10)
|
dspic30f_seq.hex* |
1.00 |
* Those kernel versions include the instructions for the management of a real-time sequencer (described in the corresponding technical page) which replace those of the tasks of the real-time kernel.
The
FORTH kernel must be downloaded with one of the tools available in the
market. Then, drivers and applications can be added by using a
terminal connected to the UART1 serial link.
Each added software can reserve some
random access memory and so modify the HERE pointer. More over, it is
necessary to automaticaly launch a software at the processor power up.
It must be added a last instruction mandatory nammed LANCE ,
automaticaly managed by the FORTH kernel, in order to launch the wanted
application. By supposing that the application to be launched is nammed
MY_PROGRAM, the minimum LANCE instruction can be as following:
: LANCE
[ HERE LITERAL ] >HERE ( HERE pointer initialisation )
MY_PROGRAM ( application starting up )
;
It is of course also possible to include some other initializations in this instruction.
Drivers
Driver
|
Version
|
Author
|
PIC
24F
|
PIC
24FJ
|
PIC
24HJ
|
PIC
24EP
|
dsPIC
30F
|
dsPIC
33FJ
|
dsPIC
33EP
|
Short description
|
uart2.txt
| 0.10
| jpb.forth
| X
| X
| X
|
|
| X
|
| Asynchronous serial interface 2 driver.
|
uart2_ep.txt
| 0.10
| jpb.forth
|
|
|
| X
|
|
| X
|
uart2_30f.txt
|
0.10
|
jpb.forth
|
|
|
|
|
X
|
|
|
ports_ABCDEFG.txt |
1.00 |
jpb.forth |
X |
X |
X |
|
|
X |
|
Input output ports driver. This driver is using also the TIMER3. |
ports_ABCDEFG_ep.txt |
1.00 |
jpb.forth |
|
|
|
X |
|
|
X |
ports_ABCDEFG_30f.txt |
1.00 |
jpb.forth |
|
|
|
|
X
|
|
|
int0_1_2.txt |
0.10 |
jpb.forth |
X |
X |
X |
|
|
X |
|
External interrupts 0, 1 and 2 driver.
|
int0_1_2_ep.txt |
0.10 |
jpb.forth |
|
|
|
X |
|
|
X |
int0_1_2_30f.txt |
0.10 |
jpb.forth |
|
|
|
|
X
|
|
|
analogique.txt |
0.10 |
jpb.forth |
X |
|
X |
|
|
|
|
AN0,
AN1, AN2, AN3, AN4, AN5,
AN6, AN7, OC1, OC2, OC3 and OC4 analog inputs outputs driver (OCx in
pulse width modulation). This driver is using also the TIMER2.
|
analogique_24fj.txt |
0.10 |
jpb.forth |
|
X |
|
|
|
|
|
analogique_33fj.txt |
0.10 |
jpb.forth |
|
|
|
|
|
X |
|
analogique_ep.txt |
0.10 |
jpb.forth |
|
|
|
X |
|
|
X |
analogique_30f.txt |
0.10 |
jpb.forth |
|
|
|
|
X |
|
|
Applications
Software
|
Version
|
Author
|
PIC
24F
|
PIC
24FJ
|
PIC
24HJ
|
PIC
24EP
|
dsPIC
30F
|
dsPIC
33FJ
|
dsPIC
33EP
|
Short description
|
regle_temps.txt*
|
0.10
|
jpb.forth
|
X
|
X
|
X
|
X
|
X
|
X
|
X
|
Real time adjust.
|
memoire.txt
|
0.50
|
jpb.forth
|
X
|
X
|
X
|
X
|
X
|
X
|
X
|
Utility
for printing the content of the memory. Instructions "DUMP", "SFRDUMP"
and "PRGDUMP" allow to show in hexadecimal and in ASCII a list of bytes
of which you give the address of the beginning and the number.
|
vt100.txt*
|
0.10
|
jpb.forth
|
X
|
X
|
X
|
X
|
X
|
X
|
X
|
An
experimental application allowing to make a visual demonstration of the
real-time kernel by using the terminal configured in mode VT100.
|
flottant.txt
|
0.50
|
jpb.forth
|
X
|
X
|
X
|
X
|
X
|
X
|
X
|
Mathematical functions of calculation in floating decimal point in IEEE simple
precision standard (1 sign bit, 8 bits for exponent and 23 bits for mantissa).
|
calculet.txt
|
0.10
|
jpb.forth
|
X
|
X
|
X
|
X
|
X
|
X
|
X
|
A
calculator working in Polish fashion inverted as those of the builder
Hewlett Packard. Application is called with the word FORTH
"CALCULETTE". This software requires the preliminary compilation of flottant.txt.
|
test_ports.txt*
|
0.50
|
jpb.forth
|
X
|
X
|
X
|
X
|
X
|
X
|
X
|
Check of the emulator simulated ports. Needs to compile the driver ports_ABCDEFG.txt, ports_ABCDEFG_ep.txt or ports_ABCDEFG_30f.txt before.
|
test_INT0.txt
|
0.10
|
jpb.forth
|
X
|
X
|
X
|
X
|
X
|
X
|
X
|
Check of the emulator simulated external interrupt 0. Needs to compile the driver int0_1_2.txt, int0_1_2_ep.txt or int0_1_2_30f.txt before.
|
xmodem.txt
| 0.10
| jpb.forth
| X
| X
| X
| X
|
X
| X
| X
| Tool of transfer by XMODEM protocol.
|
g_taches.txt*
| 0.10
| jpb.forth
| X
| X
| X
| X
|
X
| X
| X
| Tools
for control of the real-time kernel. Instruction "OLIST" allows to show
the rate of activity of the processor during the last 20 seconds.
Instruction "PERF" shows permanently the rate of activity all the
seconds.
|
test_analogique.txt
|
0.10
|
jpb.forth
|
X
|
X
|
X
|
X
|
X
|
X
|
X
|
Check of the emulator simulated analog inputs/outputs. Needs to compile the driver analogique.txt, analogique_24fj.txt, analogique_33fj.txt, analogique_ep.txt or analogique_30f.txt before.
|
trigo.txt
| 0.10
| jpb.forth
| X
| X
| X
| X
|
X
| X
| X
| 16 bits integer trigonometric functions (see the corresponding technical page).
|
* These applications work only with FORTH kernels integrating the real-time kernel.
|
 |
 |