Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
83
Issues
83
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
4bb16d59
Commit
4bb16d59
authored
Sep 04, 2014
by
Benoit Rat
Committed by
Alessandro Rubini
Sep 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usb-loader: fix DF bug when high pageNumber. i,e, new DF AT45DB641E
parent
e0a0ad80
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
at45.c
usb-loader/samba_applets/at91lib/memories/spi-flash/at45.c
+1
-1
isp-dataflash-at91sam9g45.bin
usb-loader/samba_applets/isp-dataflash-at91sam9g45.bin
+0
-0
No files found.
usb-loader/samba_applets/at91lib/memories/spi-flash/at45.c
View file @
4bb16d59
...
@@ -172,7 +172,7 @@ unsigned char AT45_SendCommand(
...
@@ -172,7 +172,7 @@ unsigned char AT45_SendCommand(
dfAddress
=
address
;
dfAddress
=
address
;
}
}
// Write address bytes
// Write address bytes
if
(
pDesc
->
pageNumber
>=
16
384
)
{
if
(
pDesc
->
pageNumber
>=
16
777216
)
{
pAt45
->
pCmdBuffer
[
1
]
=
((
dfAddress
&
0x0F000000
)
>>
24
);
pAt45
->
pCmdBuffer
[
1
]
=
((
dfAddress
&
0x0F000000
)
>>
24
);
pAt45
->
pCmdBuffer
[
2
]
=
((
dfAddress
&
0x00FF0000
)
>>
16
);
pAt45
->
pCmdBuffer
[
2
]
=
((
dfAddress
&
0x00FF0000
)
>>
16
);
...
...
usb-loader/samba_applets/isp-dataflash-at91sam9g45.bin
View file @
4bb16d59
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment