Giter Club home page Giter Club logo

platform-shakti's Introduction

Shakti: development platform for PlatformIO

Build Status

Shakti is an open-source initiative by the RISE group at IIT-Madras, which is not only building open source, production grade processors, but also associated components like interconnect fabrics, verification tools, storage controllers, peripheral IPs and SOC tools.

  • Home (home page in the PlatformIO Registry)
  • Documentation (advanced usage, packages, boards, frameworks, etc.)

Usage

  1. Install PlatformIO
  2. Create PlatformIO project and configure a platform option in platformio.ini file:

Stable version

[env:stable]
platform = shakti
board = ...
...

Development version

[env:development]
platform = https://github.com/platformio/platform-shakti.git
board = ...
...

Configuration

Please navigate to documentation.

platform-shakti's People

Contributors

ivankravets avatar valeros avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

platform-shakti's Issues

OpenOCD connection error Arty 35t board

Hi,

I'm trying to do a simple hello world UART example using VSCode and PlatformIO. I have the Arty 35t board setup correctly with the E-Class bit file. I am running VSCode on Windows 10 and have the Shakti SDK installed.

When I try to run the Upload(either with the VSCode task or CLI), I run into an error with,

Error: failed read at 0x16, status=2
Error: failed write at 0x16, status=1
Error: failed write at 0x17, status=2
Error: Fatal: Failed to read MISA from hart 0.
Error: Target not examined yet

Any clues?

Also attaching full log here.
OpenOCD_error_log.txt

Debugging support

Hi @sathya281! Could you please describe (or ask someone who knows) how you debug your boards at the moment? What software, debug probe, target do you use (for example artix7_100t board)?

Adding support for new SoCs

Hi,

Shakti platform has 3 new SoCs.

  1. Pinaka - RV32IMAC - on Artix7 35T board
  2. Parashu - RV32IMAC - on Artix7 100T board
  3. Vajra - RV64IMACSU - on Artix7 100T board

We have updated created json files for each SoC.
We also have updated tool chain and openocd.
Kindly let me know how should I submit these changes to platformio/platform-shakti.

Thanks & Regards,
Anand

PlatformIO Documentation.

How can we submit documentation via ReadtheDocs? Is it by a PR filed through PlatfromIO-Docs repo ? or other ?

Build error on Vajra

The built-in Hello World(via uart) example builds fine on Parashu and Pinaka but gives error on Vajra. I am using shakti framework v1.1.0 on Windows. Attached herewith (vscode)terminal pic-
vajra error

PlatformIO does not detect Arty 35T board

Hello,

I am trying to upload a bitstream I have genrated with Chipyard to the ARty 35T using PIO, but when I try to execute the upload command the following error appears:

Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6010, description '*', serial '*' at bus location '*'

*** [upload] Error 1

My pio.ini configuration file is as follows:

[env:artix7_35t]
platform = shakti
board = artix7_35t
upload_port = /dev/ttyUSB0
monitor_speed = 115200
board_build.bitstream_file = /path/to/my/bitstream

What could be happening?

Thank you very much in advance.
Best regards, MªJosé.

Monitor Speed

The monitor_speed(baudrate) is 19200 not 115200 for shakti.

Platform Configuration File

I have a doubt regarding the platform.ini. As part of the examples like hello program etc the values in platform.ini is static. How can i have my own custom platform.ini while creating a new project with the designated board? Do i have to add extra parameters to the board specification or other ?

Custom Upload Command

Regarding the upload protocol statement for PIO , i have detailed the issue below.

Observation 1 : With "upload_protocol=custom" I am able to upload and debug well.
Debug-working-new

Debugging the Program
Debugging-final

Observation 2 : Without "upload_protocol=custom" it doesn't upload.
upload not working

What i feel is if we don't give the custom part, it tries to program flash instead.

How to update the sdk version ?

I believe the crawler automatically updates the framework version in registry. In this case though there are no releases since the sdk is in active development and the platform json points to a commit hash "version": "0.0.0-alpha+sha.5880320115". I tried to include locally by changing to latest hash and using advanced installation but as expected it fails to find the sdk from registry. So how can I get the latest sdk ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.