Welcome, Guest |
You have to register before you can post on our site.
|
Latest Threads |
Inquiry About Updated Tra...
Forum: PULP General questions
Last Post: ayush.dileep
02-09-2025, 01:53 PM
» Replies: 0
» Views: 66
|
XpulpNN march
Forum: PULP General questions
Last Post: yoss
02-06-2025, 12:47 PM
» Replies: 2
» Views: 188
|
Help with llvm/clang comp...
Forum: PULP General questions
Last Post: ThomasMuyal
01-23-2025, 10:10 PM
» Replies: 2
» Views: 331
|
Doubts regarding I2S mode...
Forum: PULP General questions
Last Post: Zyb
01-09-2025, 11:56 AM
» Replies: 0
» Views: 212
|
Multi Core PULP first tim...
Forum: PULP General questions
Last Post: kgf
01-02-2025, 02:23 PM
» Replies: 1
» Views: 437
|
Which SDK to be used to c...
Forum: PULP General questions
Last Post: lisamartin
12-23-2024, 02:34 AM
» Replies: 2
» Views: 2,246
|
Pulpissimo Support Group ...
Forum: PULP General questions
Last Post: Roogadget
12-04-2024, 11:19 AM
» Replies: 0
» Views: 294
|
Pulp - make build
Forum: PULP General questions
Last Post: Francis Ortega
11-29-2024, 09:02 AM
» Replies: 2
» Views: 802
|
some questions about pulp...
Forum: PULP General questions
Last Post: jsen_che11
11-28-2024, 03:54 AM
» Replies: 3
» Views: 922
|
issue with pulp build
Forum: PULP General questions
Last Post: jsen_che11
11-27-2024, 07:41 AM
» Replies: 4
» Views: 2,068
|
|
|
Pulp FreeRTOs Debug |
Posted by: costola - 10-24-2023, 10:14 AM - Forum: PULP General questions
- Replies (2)
|
 |
I am running a project with pulp-freertos and all the related tools needed to make it run (sdk and riscv toolchain). I am personalizing the 'blink' demo project already present in the github dir project, but I need to debug it. Now the question is...how can I debug it?
Thanks in advance
|
|
|
SPI Master |
Posted by: istillaga - 10-19-2023, 08:34 AM - Forum: PULP General questions
- Replies (2)
|
 |
Hello i'm using Pulpino's SPI Master part to read a external sensor that it is connected to one of the zedboard's pmod. I have configurated the spi_master_clkgen spi_clk polarity to start in 1. I have done the next code to read the sensor's id but I don't get any success:
#include <utils.h>
#include <stdio.h>
#include <spi.h>
#include <bench.h>
int main() {
int sensor_id;
spi_setup_master(1);
*(volatile int*) (SPI_REG_CLKDIV) = 0x2;
spi_setup_cmd_addr( 0x0f, 8,0,0);
spi_set_datalen(8);
spi_start_transaction(SPI_CMD_RD, SPI_CSN0);
spi_read_fifo(&sensor_id, 8);
printf(" LPS25HB sensor id: 0x%x\n", sensor_id);
return 0;
}
Reviewing the signal with a logic a analizer I got this result: SCLK does as many clocks that spi_Reg_clkdiv value is, the chip select when CS is asserted, it remains asserted indefinitely. MOSI only does one pulse and MISO remains idle.
Anyone can help?
|
|
|
What is slm_conv-0.3 in HERO? |
Posted by: ajgaspar - 09-08-2023, 06:08 PM - Forum: PULP General questions
- Replies (3)
|
 |
I'm trying to build the HERO project, and I am on the step where I am meant to run " ../test/gen_slm_files.sh <app_name>."
However, I have an issue with line 11 of the file, which is
Code: slm_conv=~andkurt/bin/slm_conv-0.3
When I try running the command, I am told that the directory above does not exist. "~andkurt" is obviously the creator's home directory, but what is slm_conv-0.3 and how can I install it? There's nothing in the github repo mentioning it, and I haven't found it referenced anywhere else on the PULP platform. Even on google I haven't found a relevant result.
|
|
|
Occamy Verilator simulation error |
Posted by: pquanganh3105 - 06-14-2023, 03:24 AM - Forum: PULP General questions
- Replies (2)
|
 |
Dear sir,
I follow this instruction about Occamy: https://github.com/pulp-platform/snitch/...tem/occamy
However, when I ran command: make bin/occamy_top.vlt, I met this error:
%Error-PKGNODECL: occamy/snitch/hw/vendor/openhwgroup_cva6/core/include/ariane_rvfi_pkg.sv:20:17: Package/class 'riscv' not found, and needs to be predeclared (IEEE 1800-2017 26.3)
I recognize that your work-vlt/files lacks included file (it doesn't have snitch/hw/vendor/openhwgroup_cva6/core/include/riscv_pkg.sv so the simulator can not find package 'riscv') but whenever I ran the command above, work-vlt/files is automatically generated and it still remain lacking information.
How can fix that?
Many thanks
|
|
|
boot from external flash on genesys2 fpga |
Posted by: a0000442 - 06-10-2023, 01:53 AM - Forum: PULP General questions
- No Replies
|
 |
hi
Can anyone tell me how to boot from external flash on geneysy2 fpga board in detail?
I use pulpissimo 7.0.0 and genesys2 fpga board.I can download app through openocd but
I cannot boot it from external flash.
I konw the step how to boot from flash
1. set the bootsel=2b00;
2. modify the bootrom.c in boot_code
3. make and convert bootrom.c to fpga_bootrom.sv
4. rerun the fpga process and burn it
5. use plp_mkflash to convert app to flash.bin
6. burn flash.bin to external flash
7.reset fpga and run app in flash
is it correct?
can anybody help me?how to modify bootrom.c in step2?
|
|
|
Error building pulp sdk |
Posted by: costola - 05-18-2023, 08:21 AM - Forum: PULP General questions
- No Replies
|
 |
I am stacked in installing the pulp-sdk.
First of all I have succesfully installed the pulp-rsicv-gnu-toolchain following the instruction on github https://github.com/pulp-platform/pulp-ri...-toolchain .
I performed the following step (I omit the part in which I install all the dependencies) :
1. $ git clone --recursive https://github.com/pulp-platform/pulp-ri...-toolchain
2. $ cd pulp-riscv-gnu-toolchain
3. $ export PATH=/opt/riscv/bin:$PATH
4. $ ./configure --prefix=/opt/riscv --with-arch=rv32imc --with-cmodel=medlow --
enable-multilib
5. $ make
Then I followed the instruction on github for what concern pulp-sdk https://github.com/pulp-platform/pulp-sdk .
I performed the following step (I omit the part in which I install all the dependencies) :
1. $ git clone https://github.com/pulp-platform/pulp-sdk
2. $ export PULP_RISCV_GCC_TOOLCHAIN=/opt/riscv
3. $ cd pulp-sdk
4. $ source configs/pulp-open.sh
5. $ make build
At step n°5 i have the following error:
Quote:cmake -S . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/home/luca/Desktop/Tesi/pulp-sdk/install/workstation \
-DGVSOC_MODULES="/home/luca/Desktop/Tesi/pulp-sdk/tools/gvsoc/common;/home/luca/Desktop/Tesi/pulp-sdk/tools/gvsoc/pulp" \
-DGVSOC_TARGETS=pulp-open
Re-run cmake no build system arguments
CMake Error: The source directory "/home/luca/Desktop/Tesi/pulp-sdk/build" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Makefile:26: recipe for target 'build' failed
make: *** [build] Error 1
How can i solve ? It seems the build folder is missing.
I also checked this step by step installation guide https://www.pulp-platform.org/docs/pulp_..._part1.pdf
|
|
|
|