C/C++

Bare metal clock and timers tutorial for banana pi

7 483
Edited by inaciose at Jul 23, 2017 11:33

Hello

Im trying to learn as hobby how to make baremetal programing on banana pi.

To begin I take this tutorial and made it in banana pi
http://wiki.osdev.org/ARM_RaspberryPi_Tutorial_C

Then I add the getc and made an echo shell (just show what you type in serial port);
After that i blink a led using a loop delay function;

Then i try to blink the led with interrups. I got stuck here. Im not smart enought to figure if for my self.
There is no simple information or simple code sample about clok control and timers on banana pi, and allwinner A20.
Then i try to see if i cant get the code from else here. U-boot code was my first try. But it is not simple enough get how to do it.

So.. i need some help to get this done.
Any one knows where to get a simple code sample or tutorial about clock control, timers and interrupts on banana pi / A20

Thanks


At github there is a small sample with only a few files.

https://github.com/dwelch67/raspberrypi/blob/master/blinker05/

I cant find anything simple like this to bananapi. So I try to find the memory addresses on bananapi, but certanly i need to get smart because i didn't find any.

So I kindly ask if any one knows the banana pi addresses to match these ones.

define ARM_TIMER_LOD 0x2000B400
define ARM_TIMER_VAL 0x2000B404
define ARM_TIMER_CTL 0x2000B408
define ARM_TIMER_CLI 0x2000B40C
define ARM_TIMER_RIS 0x2000B410
define ARM_TIMER_MIS 0x2000B414
define ARM_TIMER_RLD 0x2000B418
define ARM_TIMER_DIV 0x2000B41C
define ARM_TIMER_CNT 0x2000B420
define SYSTIMERCLO 0x20003004
define GPFSEL1 0x20200004
define GPSET0 0x2020001C
define GPCLR0 0x20200028
define IRQ_BASIC 0x2000B200
define IRQ_PEND1 0x2000B204
define IRQ_PEND2 0x2000B208
define IRQ_FIQ_CONTROL 0x2000B210
define IRQ_ENABLE_BASIC 0x2000B218
define IRQ_DISABLE_BASIC 0x2000B224

paul george shoes
nmd
adidas outlet
air force 1
Kanye West shoes
nba jerseys
supreme hoodie
nike air max
adidas tubular shadow
jordan retro
longchamp
pandora charms
moncler jackets
golden goose
kate spade handbags
michael kors outlet online
red bottom shoes
michael kors outlet
nike mercurial
hermes birkin
longchamps
nike air max
golden goose outlet
air max 2017
100% real jordans for cheap
nike foamposite
longchamp outlet
air jordan
ultra boost
curry 4
nike huarache
adidas superstar
lebron james shoes
yeezy shoes
ysl handbags
air jordan shoes
kobe sneakers
jordan 4
nike sneakers
nike cortez men
stephen curry shoes
christian louboutin shoes
longchamp
nmd
lebron 13 shoes
michael kors outlet online
nike huarache
nike air huarache
yeezy shoes
off white clothing
lacoste outlet
fitflops
michael kors handbags
ferragamo belts
cartier bracelet
kate spade outlet
christian louboutin
led shoes
air max 90
longchamp outlet
adidas outlet online
adidas ultra
basketball shoes
adidas superstar shoes
adidas ultra boost
van cleef
jordan shoes
longchamp handbags
kobe basketball shoes
golden goose sneakers
nike polo
yeezy
real jordans for sale cheap
ferragamo belt
adidas nmd runner
cheap jordans
fitflops sale clearance
adidas nmd r1
yeezy boost 350
yeezy
kevin durant shoes
adidas superstar shoes
kobe basketball shoes
michael kors outlet
goyard handbags
tory burch shoes
nike air force 1
hermes belt
nike polo shirts
jordan 13
vapormax
nike roshe
james harden shoes
dior sunglasses
michael kors handbags
nike air huarache
100% real jordans for cheap
nike flyknit
michael kors outlet online
golden goose

nike roshe run
damian lillard shoes
pandora jewelry
longchamp bags
ysl handbags
jordan retro 6
nmd
gucci belt
ysl bags
yeezy 700
nike zoom
michael kors handbags
roshe run
air max 2018
adidas nmd r1
adidas stan smith sneakers
curry 4
louboutin shoes
goyard bags
nike shoes for men
vapormax
jordan 4
air jordan shoes
nike air force 1
yeezy boost 700
hermes belts for men
adidas ultra
100% real jordans for cheap
nike air max
nike lebron soldier 10
adidas tubular shadow
red bottoms
zx flux
kobe shoes
caterpillar boots
http://www.kobeshoes.uk
yeezy boost 350
yeezy boost 350 v2
vans shoes
adidas shoes
michael kors outlet
lacoste online shop
supreme hoodie
ferragamo belts
nike air max 90
chrome hearts
yeezy boost 350
nike sneakers
led shoes
nike flyknit
nike lebron soldier 11
lebron 13
tory burch shoes
lacoste polo
nike outlet store online shopping
nike shoes
michael kors handbags
bape hoodie
nike air zoom
asics kayno
nike flyknit
longchamp handbags
yeezy boost
michael kors outlet
nike roshe one
goyard handbags
chrome hearts
adidas nmd
longchamp bags
converse shoes
yeezy boost 350
adidas yeezy
calvin klein outlet
adidas superstar shoes
kd shoes
goyard handbags
nmd
balenciaga shoes
moncler jackets
yeezy shoes
nike sneakers for men
supreme clothing
michael kors outlet store
yeezys
red bottom shoes
paul george shoes
michael kors outlet
nba jerseys
kate spade handbags
moncler jackets
tom ford eyewear
longchamp outlet
nmd
yeezy shoes
yeezy shoes
longchamp bags
adidas stan smith
nike air force
nike huarache
authentic jordans

barcelona jersey
prada
nfl jerseys
cheap jerseys
abercrombie outlet
beats pills
supreme new york
nike shoes
kate spade outlet
jordan 8
mishka clothing
celine
new balance
kevin durant shoes
nfl jerseys
breguet watches
supreme
chanel handbags
jordan for kids
juicy couture outlet
michael kors
armani handbags
red bottom shoes
curry 5
adidas jeremy scott
ray bans
wedding shoes
michael kors handbags
oakley sunglasses
babyliss pro nano titanium
nfl jerseys
designer sunglasses
adidas shoes
undefeated clothing
adidas nmd
michael kors outlet
carrera sunglasses
coach outlet
jordan 3
longchamp outlet
wholesale snapback hats
coach factory outlet
new balance sandals
tod's shoes
curry 4
ray ban
under armour outlet
giuseppe zanotti
jordan 31
coach outlet store online
malone souliers
converse outlet
harden vol 2
pandora jewelry
polo ralph
cheap jordans
cheap nhl jerseys
cheap nfl jerseys
hermes uk
timberland
michael kors outlet
nike air max
chrome hearts jewelry
longchamp
ray ban sunglasses
calvin klein outlet
jordan 10
fitflops sale
dsquared2 outlet
gucci handbags
ralph lauren outlet
adidas nmd
polo ralph lauren
nike presto
mac cosmetics
light up shoes
manolo blahnik
mulberry
nike lunarglide
mbt
nike revolution
kobe 11
air foamposite
pandora jewelry
calvin klein jeans
burberry clothing
columbia sportswear
true religion
fingerlings monkey
michael kors
jordan 3
nike air max 90
nike outlet
nike air force 1
coach outlet
hermes outlet
ray ban sunglasses
cartier sunglasses
jordan 32
oakley sunglasses
20185.30wengdongdong

kate spade outlet
prada handbags
coach outlet online
polo ralph lauren
mulberry handbags
hermes birkin
superdry clothing
canada goose jackets
michael kors outlet
coach outlet
pandora charms
ray ban sunglasses
pandora jewelry
kate spade handbags
coach factory outlet
nfl jerseys
ralph lauren outlet
mulberry handbags
coach outlet online
kate spade outlet
polo ralph lauren
michael kors outlet
pandora outlet
pandora outlet
pandora charms
canada goose jackets
fitflops sale clearance
nike kyrie 3
lacoste outlet
coach outlet online
canada goose outlet
coach outlet
ralph lauren polo shirts
cheap nfl jerseys
birkenstock outlet
coach outlet
coach outlet
ray ban sunglasse
oakley sunglasses
kate spade outlet
canada goose outlet
coach outlet
louboutin shoes
nike huarache
christian louboutin outlet
ray ban sunglasses
nike outlet
michael kors outlet
adidas outlet
longchamp outlet
michael kors outlet
michael kors outlet
vans shoes
cheap oakley sunglasses
nhl jerseys
coach factory outlet
gucci outlet
coach factory outlet
moncler jackets
coach outlet
christian louboutin outlet
oakley sunglasses wholesale
moncler jackets
michael kors outlet
michael kors handbags
moncler outlet
ralph lauren outlet
nfl jerseys wholesale
pandora charm
pandora charms
michael kors handbags
ugg outlet
ray ban sunglasses
michael kors outlet
adidas outlet
ugg outlet
air max 90
pandora jewelry
polo outlet
michael kors outlet
ed hardy
michael kors outlet
pandora outlet
polo outlet
uggs outlet
mont blanc pens
coach factory outlet
oakley sunglasses
polo ralph lauren
yaoxuemei20180605

20186.14chenjinbei
flops
cheap jordan shoes
air max 270
kate spade
mont blanc
fitflops
jordans
mishka clothing
jimmy choo shoes
camisetas de futbol replicas
timberland boots
adidas football boots
coach outlet online
supra shoes
malone souliers mules
fussball trikots
supreme
ralph lauren
ferragamo shoes
burberry canada
christian louboutin
asics running shoes
nfl jerseys wholesale
air max 97
red bottoms
fitflop sandals
ralph lauren
puma slides
manchester united jersey
air max 90
true religion jeans
camisetas de futbol baratas
beats by dre
coach outlet online
nike epic react
y-3 shoes
links of london
ralph lauren
nike air max
kate spade handbags
oakley sunglasses
jordan 3
cheap jerseys
nike flip-flops
air jordan 14
light up shoes
nike dunks
new balance
converse shoes
cheap nfl jerseys
adidas yeezy 350
nike blazer
ray ban sunglasses
nike lunarglide
air max
ferragamo outlet
air jordan 11
nike shox
michael kors handbags
adidas jeremy scott
jordans
coach factory outlet
ralph lauren uk
ray ban outlet
jordan 4
air max 95
balance shoes
coach handbags
ralph lauren
miu miu shoes
air max
coach outlet store
michael kors outlet
breitling watches
nike air force
ralph lauren
carnival shoes
vans shoes
adidas slides
christian louboutin shoes
nike tn
balenciaga shoes
kobe 12
running shoes
burberry outlet
air max 2017
air max 1
harden vol 1
air force 1
roshe run
cheap mlb jerseys
adidas nmd
juicy couture outlet
superdry clothing
ferragamo
nike shoes
wholesale nfl jerseys
huarache
michael kors outlet clearance
jordan
cartier jewelry
christian louboutin outlet
air max plus
mac cosmetics
prada handbags
coach outlet store online
cheap nfl jerseys
under armour outlet
dior handbags
belstaff jackets
marc jacobs
pandora charms
michael kors
michael kors outlet online
nike blazer
polo ralph
jordan 5
hermes outlet
coach factory outlet
celine outlet
coach outlet
hermes birkin bag
converse shoes
mulberry handbags
jordan xx9
nike sb
off-white clothing
cheap soccer jerseys
swarovski
tory burch outlet
longchamp
converse uk
nike revolution
nike uk
maillot de foot pas cher
flip-flops
polo outlet
nike shoes for men
ralph lauren
polo outlet
michael kors taschen
tag heuer watches
michael kors outlet store
soccer shirts
air max 2018
air jordan
adidas outlet store
basketball shoes
montblanc fountain pens
barcelona jersey
jordan 8
coach
michael kors handbags
ray ban sunglasses
pandora jewelry canada
coach factory outlet
true religion jeans
prada bags
timberland boots
supreme outlet
baseball jersey
bvlgari rings
adidas stan smith
kate spade outlet online
suicoke sandals
cheap ray bans
oakley sunglasses
mont blanc pens
kate spade
oakley sunglasses
fitflops outlet
cheap nhl jerseys
adidas shoes
adidas flip flops
off-white clothing
coach handbags
coach factory outlet online
kobe 11
nike cortez
nike outlet store
coach factory outlet online
hermes kelly bag
mbt shoes
jordan 6
cheap soccer jerseys
beats by dre
cheap nfl jerseys
longchamp outlet
pandora outlet
vibram five fingers
hermes
air max
nike kyrie 3
supreme uk
adidas yeezy
jordan
nike free run
louboutin
lebron 15
pandora jewelry
coach outlet online
polo ralph lauren
adidas superstar
maglie calcio
snapbacks wholesale
red bottom shoes
prada handbags
hollister outlet
true religion jeans
soccer jersey
cheap mlb jerseys
longchamp outlet
valentino shoes
manolo blahnik shoes
pandora charms
nike roshe
nike factory outlet
balenciaga shoes
ralph lauren uk
giuseppe zanotti shoes
air max
timberland boots
air jordan
burberry outlet online
michael kors handbags
michael kors handbags
jordan pas cher
nike outlet online
alexander mcqueen shoes
nfl jerseys
tory burch bags
scarpe mbt
oakley vault
van cleef & arpels jewelry
air huarache
coach outlet online
yeezy 500 blush
vans shoes
christian louboutin
longchamp handbags
cheap nba jerseys
harden vol 2
bcbg
mlb jerseys
asics
"nfl jerseys
"
yeezy shoes
stuart weitzman shoes
michael kors uk
timberland outlet
ralph lauren outlet
jordan shoes
longchamp
nike free run
hermes uk
ralph lauren outlet
michael kors canada
new balance sandals
michael kors outlet
givenchy handbags
adidas outlet
ralph lauren
jordan 12
undefeated shoes
nike presto
fingerlings monkey
jordan 1
oakley sunglasses
nhl jerseys
air jordan
flip-flops
breguet watches
pandora uk
wedding shoes
fila sneakers
oakley sunglasses
oakley sunglasses wholesale
true religion jeans
nike mercurial vapor
michael kors outlet store
prada outlet online
[bcheap nfl jerseys
ray ban
coach outlet
burberry outlet store
adidas stan smith
michael kors outlet
jordan shoes
dansko shoes
mcm bags
birkenstock
ray ban sunglasses
maglie calcio a poco prezzo
cheap replica watches
ray ban sunglasses
polo outlet
tory burch outlet
pandora jewelry canada
ray ban
stussy hoodie
oakley canada
baseball bats
adidas wings
true religion jeans
columbia sportswear
michael kors outlet
nfl jerseys
prada
ray ban sunglasses cheap
nike shoes
true religion
coach outlet
kate spade
longchamp handbags
pandora jewelry
nike free
kate spade outlet
fitflop sandals
fitflops sale clearance
nike outlet
nike free
kevin durant shoes
jordans
adidas nmd
louboutin
longchamp
adidas uk
birkenstock sandals
gucci slides
coach factory outlet
mizuno running shoes
michael kors handbags
ralph lauren
ralph lauren uk
adidas ultra boost
ralph lauren polo shirts
louboutin
rolex watches
louboutin outlet
michael kors outlet
puma fenty sandals
louboutin
coach outlet online
audemars piguet
tory burch uk
nike uk
bottega veneta
nike outlet
air jordan
michael kors outlet
tod's shoes
nike outlet store online
dolce and gabbana
herve leger dresses
christian louboutin outlet
cheap oakley sunglasses
Fußballtrikots günstig
birkenstock outlet online
jordan shoes
adidas outlet store
maillot de foot
coach outlet online
cheap ray ban sunglasses
coach outlet online
timberland outlet
coach
coach outlet
coach factory online
kate spade
curry shoes
air jordan
supreme paris
swarovski jewelry
tory burch
jordan retro
nike tennis
nike outlet
ray ban
balenciaga sandals
20186.14chenjinbei

nike free
nike
nike air max
oakley sunglasses
adidas slides
true religion
pandora
skechers shoes
fitflops sale
gioielli swarovski
abercrombie
adidas outlet
coach outlet
pandora jewelry
nike store
sac michael kors
iphone cases
christian louboutin outlet
true religion jeans
converse
chaussure nike
bcbg outlet
michael kors outlet
france world cup jersey
replica watches
reebok
montre pas cher
pandora charms
nike blazer
baseball bats
jordan 12
bottega veneta
ed hardy
nike air max
asics gel
air force 1
adidas outlet
giuseppe zanotti
nike free
longchamp handbags
nike vapor max
yves saint laurent
nike kyrie 2
kobe 10
dolce & gabbana
miu miu shoes
nike tn
jordan 11
new balance
adidas
chrome hearts
insanity workout
air max 90
jordan 5
nike store
ferragamo shoes
oakley sunglasses sale
hermes bags
hogan outlet
mizuno wave
wedding dresses
ray ban occhiali
mizuno running shoes
louboutin outlet
thomas sabo charms
mac makeup
marc jacobs
mac cosmetics
michael kors borse
hermes outlet
air max 90
swarovski jewelry
stuart weitzman
longchamp outlet
asics gel lyte
vibram fivefingers
air max 2018
nike air max
orologi rolex
abercrombie
oakley sunglasses
fitflop uk
iphone x case
true religion jeans
prada outlet
ray ban
ralph lauren
jordan 4
versace handbags
ralph lauren outlet
nike air max
adidas superstar
nike roshe run
fendi
polo ralph lauren
balenciaga shoes
dolce gabbana
converse
nike free
goyard handbags
adidas outlet store
ralph lauren uk
vans shoes
michael kors outlet online store
2018.6.19linying

You have to log in before you can reply Login | Sign Up

Points Rules