f47f04b65f
With this you can upload and run code on DSP core in atj213x. The files can be produced using as2181. You can download this assembler from https://github.com/wodz/as2181 You should use extended mode (-x switch) since DSP core in atj is non standard and uses 24bit operands. PX register has different meaning as well and is used as MSB when loading other registers with immediates (immediate field is 16bit in instruction so to set register to 24bit value you need to store MSB in PX prior to this). MAC MR is 56bit accordingly. HIP interface seems to be mapped at standard addresses (except that regular 218x doesn't have HIP). Have a fun! Change-Id: I9a80ca0dd3718ba8435ae8579bfffa66e067e022
10 lines
127 B
Lua
10 lines
127 B
Lua
---
|
|
--- Chip Identification
|
|
---
|
|
|
|
ATJ = {}
|
|
|
|
hwstub.soc:select("atj213x")
|
|
require "atj/gpio"
|
|
require "atj/lcm"
|
|
require "atj/dsp"
|