Search found 7 matches
Search found 7 matches
• Page 1 of 1
- by tenkoh
- Fri Nov 04, 2022 1:47 pm
- Forum: 日本語
- Topic: Raspberry Pi 3 Model B+の割り込みについて
- Replies: 1
- Views: 5084
Raspberry Pi 3 Model B+の割り込みについて
現在、Raspberry Pi 3 Model B+向けに作成したRTOS のテスト作業をしています。
その作業の中で、割り込みをテストする必要があり、ソフトウェア的に割り込みを発生/キャンセルさせることが要求されています。
そこで、BCM2837のIllegal access type-X IRQ を使えないかと考えているのですが、問題が発生してしまいました。
Base Interrupt enable register で割り込みを許可し、0x3C000000番地に値を書き込むことで割り込みは発生させられるようになったのですが、割り込み要因のクリアが上手くできません。
Base ...
その作業の中で、割り込みをテストする必要があり、ソフトウェア的に割り込みを発生/キャンセルさせることが要求されています。
そこで、BCM2837のIllegal access type-X IRQ を使えないかと考えているのですが、問題が発生してしまいました。
Base Interrupt enable register で割り込みを許可し、0x3C000000番地に値を書き込むことで割り込みは発生させられるようになったのですが、割り込み要因のクリアが上手くできません。
Base ...
- by tenkoh
- Mon Oct 10, 2022 4:14 am
- Forum: 日本語
- Topic: BCM2837のIllegal access type-X IRQについて
- Replies: 1
- Views: 6285
Re: BCM2837のIllegal access type-X IRQについて
割り込みを許可するenable register (Enable Basic IRQs)のアドレスを0x7e00b218から0x3f00b218に変更したところ、無事割り込みが発生しました。
たくさんの御高覧、ありがとうございました。
たくさんの御高覧、ありがとうございました。
- by tenkoh
- Sun Oct 02, 2022 4:41 pm
- Forum: 日本語
- Topic: BCM2837のIllegal access type-X IRQについて
- Replies: 1
- Views: 6285
BCM2837のIllegal access type-X IRQについて
BCM2837のIllegal access について質問させてください。
"BCM2837 ARM Peripherals"の"Illegal access type-0 IRQ (7)"および"Illegal access type-1 IRQ (6)"には、"That signal is asserted when either an address bit 31 or 30 was high or when an access was seen on the ARM Peripheral bus.", "That can either be an address bit 29..26 ...
"BCM2837 ARM Peripherals"の"Illegal access type-0 IRQ (7)"および"Illegal access type-1 IRQ (6)"には、"That signal is asserted when either an address bit 31 or 30 was high or when an access was seen on the ARM Peripheral bus.", "That can either be an address bit 29..26 ...
- by tenkoh
- Sun Aug 29, 2021 7:27 am
- Forum: 日本語
- Topic: Raspberry Pi 3 Model B+ 向けにリアルタイムOS を作りました
- Replies: 0
- Views: 4666
Raspberry Pi 3 Model B+ 向けにリアルタイムOS を作りました
Raspberry Pi 3 Model B+ 向けにリアルタイムOS を作りました。
需要があるかどうかもわかりませんし、現状、ある理由により動作確認ができていませんが、とりあえず公開しています。
興味がある方は、下記のURL からアクセスしてください。
Qiita:
https://qiita.com/tenkoh2/items/baa8e0b6c09669793b4f
追伸:
もしこの投稿が何らかの規約に抵触していたなら申し訳ありません。
その場合は、削除してください。
需要があるかどうかもわかりませんし、現状、ある理由により動作確認ができていませんが、とりあえず公開しています。
興味がある方は、下記のURL からアクセスしてください。
Qiita:
https://qiita.com/tenkoh2/items/baa8e0b6c09669793b4f
追伸:
もしこの投稿が何らかの規約に抵触していたなら申し訳ありません。
その場合は、削除してください。
- by tenkoh
- Thu Jun 25, 2020 12:15 pm
- Forum: 日本語
- Topic: Raspberry Pi 3 Model B+ のJTAG 接続とGDB によるデバッグについて
- Replies: 2
- Views: 2774
Re: Raspberry Pi 3 Model B+ のJTAG 接続とGDB によるデバッグについて
もう一つ補足です。
■しかくRaspberry Pi 3 B+ とARM-USB-TINY-H の接続
ピン番号 ピン番号
1 3.3V 3.3V <-> VREF 1
15 TRST GPIO22 <-> TTRST_N 3
37 TDI GPIO26 <-> TTDI 5
13 TMS GPIO27 <-> TTMS 7
22 TCK GPIO25 <-> TTCK 9
16 RTCK GPIO23 <-> TRTCK 11
18 TDO GPIO24 <-> TTDO 13
6 GND Ground <-> GND 4
USB はUSB3.0ポートを使用しています。
■しかくRaspberry Pi 3 B+ とARM-USB-TINY-H の接続
ピン番号 ピン番号
1 3.3V 3.3V <-> VREF 1
15 TRST GPIO22 <-> TTRST_N 3
37 TDI GPIO26 <-> TTDI 5
13 TMS GPIO27 <-> TTMS 7
22 TCK GPIO25 <-> TTCK 9
16 RTCK GPIO23 <-> TRTCK 11
18 TDO GPIO24 <-> TTDO 13
6 GND Ground <-> GND 4
USB はUSB3.0ポートを使用しています。
- by tenkoh
- Wed Jun 24, 2020 1:23 pm
- Forum: 日本語
- Topic: Raspberry Pi 3 Model B+ のJTAG 接続とGDB によるデバッグについて
- Replies: 2
- Views: 2774
Re: Raspberry Pi 3 Model B+ のJTAG 接続とGDB によるデバッグについて
補足です。
OpenOCD の起動オプションは下記のとおりです。
------------------------------------------------------------
openocd.exe --file C:\Project\scripts\interface\ftdi\olimex-arm-usb-tiny-h.cfg -c "transport select jtag" --file C:\Project\scripts\target\rpi3.cfg ...
OpenOCD の起動オプションは下記のとおりです。
------------------------------------------------------------
openocd.exe --file C:\Project\scripts\interface\ftdi\olimex-arm-usb-tiny-h.cfg -c "transport select jtag" --file C:\Project\scripts\target\rpi3.cfg ...
- by tenkoh
- Sun Jun 21, 2020 3:58 pm
- Forum: 日本語
- Topic: Raspberry Pi 3 Model B+ のJTAG 接続とGDB によるデバッグについて
- Replies: 2
- Views: 2774
Raspberry Pi 3 Model B+ のJTAG 接続とGDB によるデバッグについて
Raspberry Pi 3 Model B+ で、JTAG 接続によりデバッグを開始し
ようとしたところ、ステップによりldr 命令を実行したところでプ
ログラムが暴走し、デバッグ続行が不可能になってしまいます。
【環境】
Raspberry Pi 3 Model B+
ARM-USB-TINY-H
GNU toolchain for Raspberry Pi
OpenOCD 0.10.0
以下のコードを実行すると、プログラムが暴走します。
cps #MODE_SYS
>> ldr r0, =__stack_system
mov sp, r0
>> のところで暴走
暴走時 ...
ようとしたところ、ステップによりldr 命令を実行したところでプ
ログラムが暴走し、デバッグ続行が不可能になってしまいます。
【環境】
Raspberry Pi 3 Model B+
ARM-USB-TINY-H
GNU toolchain for Raspberry Pi
OpenOCD 0.10.0
以下のコードを実行すると、プログラムが暴走します。
cps #MODE_SYS
>> ldr r0, =__stack_system
mov sp, r0
>> のところで暴走
暴走時 ...
Search found 7 matches
• Page 1 of 1
Jump to
- Community
- General discussion
- Announcements
- Other languages
- Deutsch
- Español
- Français
- Italiano
- Nederlands
- 日本語
- Polski
- Português
- Русский
- Türkçe
- User groups and events
- Raspberry Pi Official Magazine
- Using the Raspberry Pi
- Beginners
- Troubleshooting
- Advanced users
- Assistive technology and accessibility
- Education
- Picademy
- Teaching and learning resources
- Staffroom, classroom and projects
- Astro Pi
- Mathematica
- High Altitude Balloon
- Weather station
- Programming
- C/C++
- Java
- Python
- Scratch
- Other programming languages
- Windows 10 for IoT
- Wolfram Language
- Bare metal, Assembly language
- Graphics programming
- OpenGLES
- OpenVG
- OpenMAX
- General programming discussion
- Projects
- Networking and servers
- Automation, sensing and robotics
- Graphics, sound and multimedia
- Other projects
- Gaming
- Media centres
- AIY Projects
- Hardware and peripherals
- Camera board
- Compute Module
- Official Display
- HATs and other add-ons
- Device Tree
- Interfacing (DSI, CSI, I2C, etc.)
- Keyboard computers (400, 500, 500+)
- Raspberry Pi Pico
- General
- SDK
- MicroPython
- Other RP2040 boards
- Zephyr
- Rust
- AI Accelerator
- AI Camera - IMX500
- Hailo
- Software
- Raspberry Pi OS
- Raspberry Pi Connect
- Raspberry Pi Desktop for PC and Mac
- Beta testing
- Other
- Android
- Debian
- FreeBSD
- Gentoo
- Linux Kernel
- NetBSD
- openSUSE
- Plan 9
- Puppy
- Arch
- Pidora / Fedora
- RISCOS
- Ubuntu
- Ye Olde Pi Shoppe
- For sale
- Wanted
- Off topic
- Off topic discussion