Product Idea: USB Flash Drives
#28
(03-16-2021, 08:23 PM)barray Wrote: Yeah, it was just the first example I found on a little search. The bottleneck would likely be the BL602 SPI bus speeds to be honest. I haven't found any good data on it yet.

Well, you're right and unfortunately there's some bad news. Sad  Here's a quotation from the BL602 feature list, found on page 6 of the BL602 datasheet:

Quote:One SPI master/slave with max clock 40Mbps

Consequently, even with the quad-SPI flash connected to a completely separate controller and interface (according to the block diagram on page 9 of the BL602 datasheet), anything going through the BL602's SPI bus would be limited to 40 Mbit/s, which includes the required USB interface.  Quite frankly, a storage device that provides about 4 MB/s at its USB interface would be rather pointless.

Strictly in theory, another approach might be to use the BL602's SDIO 2.0 interface to connect a USB interface.  It should provide reasonable speeds, but I really don't think that an appropriate SDIO-to-USB bridge device exists.  There are USB devices that provide an SDIO interface, but there's pretty much no reason for an SDIO device that provides a USB interface to exist.

Unfortunately, I'm no longer optimistic about using the BL602 for the new storaga device, it would be unusably slow. Sad  Quite frankly, everything says that we should look for a better microcontroller choice for the new storage device.

As a side note, more information about the software side of the BL602's SPI interface is available here.

(03-16-2021, 08:23 PM)barray Wrote: Where is it hiding? https://wiki.pine64.org/images/a/af/Pine...-small.jpg
I see the BL602 and clock crystal on the upper board, then some USB chip and power modulation on the lower board.
On the Wiki, when it talks about 2MB embedded flash, I think it means inside the BL602 itself? https://wiki.pine64.org/wiki/Nutcracker

You're right, according to the wiki page and the released schematic, the BL602 boards released by Pine64 provide 2 MB of embedded flash.   Furthermore, the IC on the board picture is labeled BL602L20, which additionally confirms that it contains 16 Mbit (2 MB) of embedded flash (see my comment below).

(03-17-2021, 02:04 PM)Julius_GU Wrote: Excuse me if I misunderstood your question, but I think it is on the IC itself
https://github.com/pine64/bl602-docs/blo...1.6_en.pdf  (PAGE 6)

(03-17-2021, 07:02 PM)barray Wrote: So on page 7 you have "XIP QSPI/SPI Flash with hardware decryption support" and "Embedded Flash (Optional)" - it's not obvious to me that the embedded flash operates through the XIP SPI section. I looked through the whole document, but couldn't see anything that for sure showed that the optional flash is on the XIP SPI bus.

If it was on the XIP SPI bus, that would raise different questions, like how it would boot up when there are up to four devices? Which one does it enable before it's loaded it's first byte of code?

According to the table on page 11 of the BL602 datasheet, the memory map includes space for 16 MB of XIP (execute in place) flash memory.  It is unclear whether those 16 MB present the liimit for the size of the external flash?  Probably not, but the XIP feature should require the flash to be part of the memory map?  Maybe only one part ("XIP window") of the flash is mapped at once?  Also, the memory map says nothing specific about the embedded flash.

Another interesting piece of information is available on page 29 of the BL602 datasheet.  When it comes to the embedded flash, there seem to be four variants of the BL602: no embedded flash, 8 Mbit (1 MB), 16 Mbit (2 MB) and 32 Mbit (4 MB) of embedded flash.

(03-17-2021, 02:04 PM)Julius_GU Wrote: Ps. For some reason, the forum inserts newlines every time and I cant delete them, sorry

You can edit the source of your posts, by clicking on the rightmost button on the editor toolbar, and remove any erroneous newlines.  That's also how I write posts most of the time.
  Reply


Messages In This Thread
Product Idea: USB Flash Drives - by barray - 03-03-2021, 05:57 AM
RE: Product Idea: USB Flash Drives - by Arwen - 03-04-2021, 02:25 PM
RE: Product Idea: USB Flash Drives - by Julius_GU - 03-05-2021, 01:33 PM
RE: Product Idea: USB Flash Drives - by Julius_GU - 03-05-2021, 03:59 PM
RE: Product Idea: USB Flash Drives - by barray - 03-05-2021, 07:04 PM
RE: Product Idea: USB Flash Drives - by barray - 03-05-2021, 09:23 PM
RE: Product Idea: USB Flash Drives - by Arwen - 03-07-2021, 03:33 PM
RE: Product Idea: USB Flash Drives - by barray - 03-07-2021, 04:59 PM
RE: Product Idea: USB Flash Drives - by barray - 03-07-2021, 11:15 PM
RE: Product Idea: USB Flash Drives - by Julius_GU - 03-14-2021, 12:05 PM
RE: Product Idea: USB Flash Drives - by Arwen - 03-14-2021, 01:40 PM
RE: Product Idea: USB Flash Drives - by barray - 03-14-2021, 02:01 PM
RE: Product Idea: USB Flash Drives - by Arwen - 03-14-2021, 02:18 PM
RE: Product Idea: USB Flash Drives - by barray - 03-14-2021, 03:12 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-15-2021, 04:00 PM
RE: Product Idea: USB Flash Drives - by barray - 03-15-2021, 04:31 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-15-2021, 08:32 PM
RE: Product Idea: USB Flash Drives - by barray - 03-16-2021, 02:43 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-16-2021, 03:21 PM
RE: Product Idea: USB Flash Drives - by barray - 03-16-2021, 04:42 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-16-2021, 05:11 PM
RE: Product Idea: USB Flash Drives - by barray - 03-16-2021, 06:02 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-16-2021, 06:36 PM
RE: Product Idea: USB Flash Drives - by barray - 03-16-2021, 08:23 PM
RE: Product Idea: USB Flash Drives - by Julius_GU - 03-17-2021, 02:04 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-19-2021, 05:47 AM
RE: Product Idea: USB Flash Drives - by barray - 03-17-2021, 07:02 PM
RE: Product Idea: USB Flash Drives - by barray - 03-17-2021, 10:26 PM
RE: Product Idea: USB Flash Drives - by barray - 03-20-2021, 12:26 AM
RE: Product Idea: USB Flash Drives - by dsimic - 03-20-2021, 03:08 AM
RE: Product Idea: USB Flash Drives - by barray - 03-20-2021, 04:37 AM
RE: Product Idea: USB Flash Drives - by dsimic - 03-20-2021, 05:47 AM
RE: Product Idea: USB Flash Drives - by barray - 03-21-2021, 12:01 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-21-2021, 03:48 PM
RE: Product Idea: USB Flash Drives - by barray - 03-21-2021, 04:18 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-21-2021, 04:56 PM
RE: Product Idea: USB Flash Drives - by barray - 03-21-2021, 10:39 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-22-2021, 12:11 AM
RE: Product Idea: USB Flash Drives - by barray - 03-22-2021, 12:19 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-26-2021, 06:59 AM
RE: Product Idea: USB Flash Drives - by LazLong - 03-22-2021, 06:20 PM
RE: Product Idea: USB Flash Drives - by barray - 03-23-2021, 04:37 AM
RE: Product Idea: USB Flash Drives - by LazLong - 03-23-2021, 02:02 PM
RE: Product Idea: USB Flash Drives - by israel - 03-23-2021, 06:02 AM
RE: Product Idea: USB Flash Drives - by barray - 03-23-2021, 04:33 PM
RE: Product Idea: USB Flash Drives - by barray - 03-27-2021, 02:06 AM
RE: Product Idea: USB Flash Drives - by dsimic - 03-27-2021, 03:00 AM
RE: Product Idea: USB Flash Drives - by barray - 03-28-2021, 01:47 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-28-2021, 03:04 PM
RE: Product Idea: USB Flash Drives - by barray - 03-28-2021, 03:28 PM
RE: Product Idea: USB Flash Drives - by dsimic - 03-28-2021, 09:46 PM
RE: Product Idea: USB Flash Drives - by barray - 03-29-2021, 08:09 AM
RE: Product Idea: USB Flash Drives - by dsimic - 04-01-2021, 07:50 AM
RE: Product Idea: USB Flash Drives - by xalius - 03-29-2021, 08:34 AM
RE: Product Idea: USB Flash Drives - by Arwen - 03-29-2021, 11:15 AM
RE: Product Idea: USB Flash Drives - by barray - 03-30-2021, 11:20 AM
RE: Product Idea: USB Flash Drives - by barray - 03-30-2021, 12:44 PM
RE: Product Idea: USB Flash Drives - by Arwen - 04-01-2021, 01:27 PM
RE: Product Idea: USB Flash Drives - by dsimic - 04-01-2021, 02:05 PM
RE: Product Idea: USB Flash Drives - by barray - 04-01-2021, 05:31 PM
RE: Product Idea: USB Flash Drives - by dsimic - 04-01-2021, 09:20 PM
RE: Product Idea: USB Flash Drives - by barray - 04-01-2021, 10:02 PM
RE: Product Idea: USB Flash Drives - by dsimic - 04-01-2021, 11:01 PM
RE: Product Idea: USB Flash Drives - by Arwen - 04-03-2021, 03:00 PM
RE: Product Idea: USB Flash Drives - by dsimic - 04-07-2021, 12:52 PM
RE: Product Idea: USB Flash Drives - by barray - 04-05-2021, 07:47 PM
RE: Product Idea: USB Flash Drives - by barray - 04-11-2021, 10:52 AM
RE: Product Idea: USB Flash Drives - by dsimic - 04-12-2021, 01:09 AM
RE: Product Idea: USB Flash Drives - by Arwen - 04-13-2021, 11:31 AM
RE: Product Idea: USB Flash Drives - by dsimic - 04-14-2021, 11:13 AM
RE: Product Idea: USB Flash Drives - by barray - 04-20-2021, 07:19 PM
RE: Product Idea: USB Flash Drives - by dsimic - 04-20-2021, 08:07 PM
RE: Product Idea: USB Flash Drives - by xalius - 04-21-2021, 08:45 AM
RE: Product Idea: USB Flash Drives - by barray - 04-21-2021, 08:32 PM
RE: Product Idea: USB Flash Drives - by xalius - 04-22-2021, 01:27 PM
RE: Product Idea: USB Flash Drives - by dsimic - 04-25-2021, 02:13 PM
RE: Product Idea: USB Flash Drives - by barray - 04-25-2021, 10:24 PM
RE: Product Idea: USB Flash Drives - by dsimic - 04-25-2021, 10:44 PM
RE: Product Idea: USB Flash Drives - by barray - 05-14-2021, 01:43 AM
RE: Product Idea: USB Flash Drives - by dsimic - 05-16-2021, 01:11 AM
RE: Product Idea: USB Flash Drives - by barray - 05-16-2021, 02:10 AM
RE: Product Idea: USB Flash Drives - by dsimic - 05-16-2021, 05:29 AM
RE: Product Idea: USB Flash Drives - by Arwen - 05-16-2021, 11:32 AM
RE: Product Idea: USB Flash Drives - by poVoq - 05-16-2021, 05:25 PM
RE: Product Idea: USB Flash Drives - by barray - 05-16-2021, 07:08 PM
RE: Product Idea: USB Flash Drives - by barray - 05-17-2021, 10:36 PM
RE: Product Idea: USB Flash Drives - by dsimic - 05-17-2021, 11:59 PM
RE: Product Idea: USB Flash Drives - by barray - 05-18-2021, 09:08 PM
RE: Product Idea: USB Flash Drives - by barray - 06-01-2021, 10:23 PM
RE: Product Idea: USB Flash Drives - by dsimic - 06-04-2021, 04:51 AM
RE: Product Idea: USB Flash Drives - by barray - 06-04-2021, 11:33 PM
RE: Product Idea: USB Flash Drives - by dsimic - 06-04-2021, 11:51 PM
RE: Product Idea: USB Flash Drives - by barray - 06-07-2021, 10:04 AM
RE: Product Idea: USB Flash Drives - by dsimic - 06-11-2021, 04:15 AM
RE: Product Idea: USB Flash Drives - by barray - 06-12-2021, 04:35 AM
RE: Product Idea: USB Flash Drives - by dsimic - 07-07-2021, 08:08 PM
RE: Product Idea: USB Flash Drives - by barray - 07-08-2021, 09:21 PM
RE: Product Idea: USB Flash Drives - by biketool - 07-09-2021, 03:09 AM
RE: Product Idea: USB Flash Drives - by dsimic - 07-09-2021, 03:27 AM
RE: Product Idea: USB Flash Drives - by biketool - 07-09-2021, 09:03 AM
RE: Product Idea: USB Flash Drives - by dsimic - 07-09-2021, 01:43 PM
RE: Product Idea: USB Flash Drives - by barray - 07-10-2021, 04:53 AM
RE: Product Idea: USB Flash Drives - by biketool - 07-10-2021, 11:54 AM
RE: Product Idea: USB Flash Drives - by barray - 07-12-2021, 01:08 AM
RE: Product Idea: USB Flash Drives - by tarksur - 09-01-2022, 01:19 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Possible new Pine64 product - Pine Blue Ray DVD Linux tv box Omnios 5 1,523 07-24-2023, 03:21 PM
Last Post: Omnios
  QuartzPro64 SPI flash Melab 1 920 03-16-2023, 07:50 PM
Last Post: Melab
  Modular product design Zotax 0 864 01-28-2023, 11:50 AM
Last Post: Zotax
  Product Idea: PineTracker EternityForest 0 798 01-12-2023, 10:33 PM
Last Post: EternityForest
  New product idea: Pine Glasses Blathers 2 2,792 12-02-2022, 09:51 PM
Last Post: erikzoltan
Lightbulb Product Idea: Pine Graphics Tablet israel 10 8,329 04-19-2022, 04:12 AM
Last Post: Houstand345
  Article: Auto Flash and Test NuttX on RISC-V BL602 (PineCone) lupyuen 0 1,298 01-24-2022, 05:41 PM
Last Post: lupyuen
  Rackmount cluster case as a Pine Store product? dfr 3 3,407 09-30-2021, 04:52 PM
Last Post: poVoq
  E-Note Device (E-Ink, E-Paper, Project Idea) Sirius 9 9,167 08-18-2021, 08:28 AM
Last Post: biketool
  PineVR as a new product? poVoq 11 11,565 05-31-2021, 09:33 AM
Last Post: MirceaKitsune

Forum Jump:


Users browsing this thread: 2 Guest(s)