Andes Workshop

It is currently Thu Oct 19, 2017 12:30 pm

All times are UTC + 8 hours [ DST ]

Search found 13 matches
Search these results:

Author Message

 Forum: Programming   Topic: How to lock cache in demo-cache-lock project

Posted: Wed Apr 12, 2017 4:15 pm 

Replies: 0
Views: 458

The cache lock Scanario in demo-cache-lock are: For example, 1. set g_selfmodify = 7777777. 2. lock cache. If g_selfmodify = 7777777, it means cache lock successfully. Note:Keep the set value same. 3. unlock cache. if g_selfmodify = 8888888, it means cache unlock successfully. Implement cache lock b...

 Forum: AndeShape   Topic: nds32le-elf-gdb restore memory very slow

Posted: Wed Feb 15, 2017 4:24 pm 

Replies: 0
Views: 592

Basically load command runs on bus mode and restore command runs on CPU mode. Because restore command is too slow, new version restore will switch to bus mode automatically if checking some condition meet. customer EVB may not meet such condition,and so restore command always run cpu mode and speed ...

 Forum: AndeSight STD   Topic: multi-core debug in Andesight

Posted: Fri Jan 13, 2017 3:44 pm 

Replies: 1
Views: 1028

How to setup core1 in Andesight ? core0: port 9900 -> burner (AICE) port 9901 -> telnet port 9902 -> GDB server port core1: port 9903 -> burner (AICE) port 9904 -> telnet port 9905 -> GDB server port ICEman connect to burner port . If port is occupied by other software, Andesight will use next port.

 Forum: AndeStar   Topic: 2 words read turn to burst-8 on axi-bus when executing lmw

Posted: Mon Jan 09, 2017 7:49 pm 

Replies: 0
Views: 687

When Andes ISA "lmw/smw" execute on axi-bus, axi-bus will send burst-8 words. 8 words alignment may cause problem when reach IO peripheral. There are no 8 words alignment problem if executing basic load/store instruction on axi-bus. for eample, C code: u64_t mem_value64; mem_value64 = MEM6...

 Forum: Realtime OS   Topic: IVIC/EVIC mode setup in eCos

Posted: Tue Jan 03, 2017 12:23 pm 

Replies: 0
Views: 648

There are 2 interrupts mode "IVIC/EVIC" in Andes core N10,D10 and N13.
The interrupt mode of default eCos demo program set IVIC mode. If your EVB netlist is EVIC mode, you have to setup eCos configuration tools as following picture. For example, N1337 EVIC mode:

 Forum: AndeStar   Topic: coalesable design in Andes NTC/NTM

Posted: Thu Dec 29, 2016 2:37 pm 

Replies: 0
Views: 638

explained coalesable meaning in document chapter 2.2.3 of AndeStar_SPA_V3_UM072_V1.4.pdf. When bufferable device transfer data to bufferable device, both sides write commands will be “UN-ORDERED” transfer. other combination will be "IN-ORDERED" transfer. Please study following description ...

 Forum: Programming   Topic: How to How to fix compilation errors mentioned stray '\241'

Posted: Tue Dec 06, 2016 4:12 pm 

Replies: 0
Views: 639

Customer copy command from slide which provided by Andes. If command includes quotation mark,for example, which will be changed by power point or word, you must change back quotation mark from Unicode quotation marks to ASCII quotation marks. compilation errors stray '\241' will disappear. you can a...

 Forum: Programming   Topic: Data conflicts between DMA and cache

Posted: Thu Nov 17, 2016 12:54 pm 

Replies: 0
Views: 752

If DMA moves data in your system and cache enable as well, you must do "cache flush" and "cache invalidate" as following:

[*]Data from Memory to IO
[*][*]Before DMA operation, execute cache flush
[*]Data from IO to Memory
[*][*]After DMA operation, execute cache invalidate

 Forum: Realtime OS   Topic: FreeRTOS run on AndesPlatform

Posted: Thu Nov 17, 2016 12:37 pm 

Replies: 0
Views: 811

RTOS on Andes platform2016-10-05.jpg
RTOS on Andes platform2016-10-05.jpg [ 51.33 KiB | Viewed 811 times ]
The "context switch" of FreeRTOS is made by "Software interrupt".
Hardware wired as attached picture. otherwise, FreeRTOS can't run on Andes core.

 Forum: Programming   Topic: decide heap start/end in malloc

Posted: Thu Sep 29, 2016 12:15 pm 

Replies: 0
Views: 804

If you use malloc function, system will automatically decide heap start/end address. If you want to decide heap start/end address by yourself. Please follow below procedure: Please add the attached file to your project and use the following statement to set the heap in the SaG file. VAR _HEAP_MIN = ...
Sort by:  
Page 1 of 2 [ Search found 13 matches ]

All times are UTC + 8 hours [ DST ]

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group