Jal - PowerPoint PPT Presentation

1 / 7
About This Presentation
Title:

Jal

Description:

radix hex. myPortB equ 0x06. org 0x000. start movlw 0x00. tris myPortB. movlw b'10101010' ... Copy Jal folder to the C: drive. Don't put it in Program Files or ... – PowerPoint PPT presentation

Number of Views:82
Avg rating:3.0/5.0
Slides: 8
Provided by: highscho
Category:
Tags: jal | radix

less

Transcript and Presenter's Notes

Title: Jal


1
Jal
  • Advantages
  • Free!
  • Open Source
  • Easy to read
  • Quick to learn
  • Compatible w/ many bootloaders
  • Disadvantage
  • No 18F support
  • Slower dev. cycle
  • Support through yahoo group
  • No MPLAB support

2
Commparison to AsssemblyAssembly Jal
  • list p16F84
  • radix hex
  • myPortB equ 0x06
  • org 0x000
  • start movlw 0x00
  • tris myPortB
  • movlw b'10101010'
  • movwf myPortB
  • circle goto circle
  • end
  • include 16f88.jal
  • pin_b1_direction output
  • forever loop
  • pinb1 on
  • delay10ms(5)
  • pinb1 off
  • delay10ms(5)
  • end loop

3
Comparison to BasicBasic Jal
  • main
  • TRISB 0 '
  • eloop
  • PORTB FF
  • Delay_ms(1000)
  • PORTB 0
  • Delay_ms(1000)
  • goto eloop '
  • end
  • pin_b1_direction output
  • Forever loop
  • pinb1 on
  • delay10ms(5)
  • pinb1 off
  • delay10ms(5)
  • End loop

4
Comparison to CC Jal
  • define b1 0x02
  • define B_OUTPUTS 0xFD
  • void main(void)
  • TRISB B_OUTPUTS
  • while(1)
  • PORTB (PORTBb1)
  • pin_b1_direction output
  • Forever loop
  • pinb1 on
  • delay10ms(5)
  • pinb1 off
  • delay10ms(5)
  • End loop

5
Bootloader
  • Advantages
  • Quick program cycle
  • No bent/broken pins
  • Cheap hardware lt5
  • Disadvantages
  • can't program fuses
  • must use a self programing chip
  • 16f88, 16f877, 18f
  • Cant use mclr as an input

6
Installing
  • Copy Jal folder to the C drive
  • Don't put it in Program Files or use spaces in
    the folder names
  • make shortcuts to Jaledit and tinybld executables
    on your desktop
  • Point jaledit to the jal.exe and jal libraries
    folder(already done if you copy directly to c )
  • Voila! (P.S. I slaved away for months to make it
    this easy)

7
Where I got the equipment
  • Tanks from hobbytron.com 7.50eac by the case
  • Solderless circuit boards 2.75 each in 50
    quantities from www.circuitspecialists.com
  • My email bryan.jackson_at_nebo.edu
  • Web page www.highschoolrobots.com
Write a Comment
User Comments (0)
About PowerShow.com